mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 22:28:37 +00:00
Add --all functionality to rmi
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #384 Approved by: rhatdan
This commit is contained in:
committed by
Atomic Bot
parent
ae7d2f3547
commit
fd995e6166
@@ -11,14 +11,22 @@ Removes one or more locally stored images.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
**--all, -a**
|
||||
|
||||
All local images will be removed from the system that do not have containers using the image as a reference image.
|
||||
|
||||
**--force, -f**
|
||||
|
||||
Executing this command will stop all containers that are using the image and remove them from the system
|
||||
This option will cause Buildah to remove all containers that are using the image before removing the image from the system.
|
||||
|
||||
## EXAMPLE
|
||||
|
||||
buildah rmi imageID
|
||||
|
||||
buildah rmi --all
|
||||
|
||||
buildah rmi --all --force
|
||||
|
||||
buildah rmi --force imageID
|
||||
|
||||
buildah rmi imageID1 imageID2 imageID3
|
||||
|
||||
Reference in New Issue
Block a user