Skip to content

Commit a5aba5c

Browse files
Merge pull request #3493 from cevich/clarify_rmi
[CI:DOCS] Clarify rmi w/ manifest/index use
2 parents e90f9ec + cb9b9d4 commit a5aba5c

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

docs/buildah-rmi.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,20 @@ Passing an argument _image_ deletes it, along with any of its dangling (untagged
1515

1616
## LIMITATIONS
1717

18-
If the image was pushed to a directory path using the 'dir:' transport
19-
the rmi command can not remove the image. Instead standard file system
20-
commands should be used.
21-
If _imageID_ is a name, but does not include a registry name, buildah will attempt to find and remove an image named using the registry name _localhost_, if no such image is found, it will search for the intended image by attempting to expand the given name using the names of registries provided in the system's registries configuration file, registries.conf.
18+
* If the image was pushed to a directory path using the 'dir:' transport,
19+
the rmi command can not remove the image. Instead, standard file system
20+
commands should be used.
21+
22+
* If _imageID_ is a name, but does not include a registry name, buildah will
23+
attempt to find and remove the named image using the registry name _localhost_,
24+
if no such image is found, it will search for the intended image by attempting
25+
to expand the given name using the names of registries provided in the system's
26+
registries configuration file, registries.conf.
27+
28+
* If the _imageID_ refers to a *manifest list* or *image index*, this command
29+
will ***not*** do what you expect! This command will remove the images
30+
associated with the *manifest list* or *index* (not the manifest list/image index
31+
itself). To remove that, use the `buildah manifest rm` subcommand instead.
2232

2333
## OPTIONS
2434

0 commit comments

Comments
 (0)