OpenTOSCA / opentosca-docker

Docker Compose for running OpenTOSCA
MIT License
26 stars 18 forks source link

New dind creates large volumes that need to be cleaned up regularly #50

Open buehlefs opened 2 years ago

buehlefs commented 2 years ago

The official dind image creates a volume that can be quite large and is not cleaned up with the container. This can easily fill up all the space allowed for the docker VM resulting in spurious and hard to track errors. A regular cleanup can prevent this and should be added to troubleshooting and stopping the docker compose sections of the docs.

# cleanup all dangling resources (volumes, containers, etc.)
docker system prune

# optinally cleanup unused images
docker image prune