Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up old docker images for deployer #554

Open
techietav opened this issue Oct 13, 2023 · 0 comments
Open

Clean up old docker images for deployer #554

techietav opened this issue Oct 13, 2023 · 0 comments

Comments

@techietav
Copy link

After running the deployer 'build' and 'env apply' multiple times my server had run out of available disk space on the 100G root volume '/'.

I discovered a large number of docker images were present, but over 80G were not in use. This had used all available space on my 100G disk '/' as the images are mounted in /var/lib/containers. I removed all of these images using 'podman rmi' and ran the build again. Only 18G is being used on '/'

The deployer should remove previous build old images from the local docker instance when a new build is run and that way only have the current images present. Or there could be a 'clean' command to run before the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant