IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
131 stars 66 forks source link

Clean up old docker images for deployer #554

Open techietav opened 9 months ago

techietav commented 9 months ago

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.