You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker has an option called image prune which deletes unused images, containers, networks etc. It would be nice to have this in buildah. Running builds often creates many intermediate images which stick around, especially for failed builds. I understand that the purpose of keeping the failed build images is to be able to debug it later. However, while using buildah from tools like ansible-bender, the cause of failure is often readily apparent from the console output and can be resolved without the help of the failed image. Deleting the failed images needs to be done manually, by listing them first and passing them to the buildah rmi command. Having something similar to prune would reduce this effort.
Steps to reproduce the issue:
Please see description.
Describe the results you received:
Please see description.
Describe the results you expected:
Please see description.
Description
This is an enhancement request.
docker has an option called image prune which deletes unused images, containers, networks etc. It would be nice to have this in buildah. Running builds often creates many intermediate images which stick around, especially for failed builds. I understand that the purpose of keeping the failed build images is to be able to debug it later. However, while using buildah from tools like ansible-bender, the cause of failure is often readily apparent from the console output and can be resolved without the help of the failed image. Deleting the failed images needs to be done manually, by listing them first and passing them to the buildah rmi command. Having something similar to prune would reduce this effort.
Steps to reproduce the issue:
Please see description.
Describe the results you received:
Please see description.
Describe the results you expected:
Please see description.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: