I am facing space issue in server due to docker overlay2 folder.It is taking space around 72GB.Many applications are running in this docker.Can I delete files which is in overlay2 folder?If I delete these files from overlay2 folder, any issues will occur in running containers? Please clarify. I have attached snapshot for reference.
Asked
Active
Viewed 387 times
0
-
This is off-topic. It is not a programming question. – Stephen C Dec 30 '21 at 06:21
-
It's better to run `docker system prune -af` so that let docker deletes everything unused – Saeed Dec 30 '21 at 06:33
-
ok.If I delete these files,will it impact running containers? – User1984 Dec 30 '21 at 06:46
1 Answers
0
This question has already been answered: Is it safe to clean docker/overlay2/
If docker uses a huge amount of space I recommend the following command:
docker system prune --volumes
See https://stackoverflow.com/a/56147993/4471199
Use with caution!
docker system prune --help
may help

RoBeaToZ
- 1,113
- 10
- 18