KhronosGroup / DockerContainers

Docker container specifications which package dependencies for building Khronos documentation and software
Apache License 2.0
7 stars 10 forks source link

Add a reminder to build-one.sh push operations to cleanup after yourself #41

Closed oddhack closed 3 months ago

oddhack commented 4 months ago

Docker builds and old images can consume vast amounts of space quickly. This just prints out a reminder and suggests some steps to take to clean up after yourself once an image is pushed (but not when it's just built and not pushed).

@rpavlik let me know if OK.

rpavlik commented 3 months ago

Seems fine, I feel like I've run some of those commands before but not all of them. I tend to prune images using portainer long after the fact.

oddhack commented 3 months ago

Seems fine, I feel like I've run some of those commands before but not all of them. I tend to prune images using portainer long after the fact.

Usually just the build and image caches accumulate huge amounts. There are about 8 different docker things that cache but most of them are tiny. I'm down to about 20 GB free on my SSD so it's getting to be a problem.