moby/docs/reference/commandline
Aaron Lehmann 2f048f73e1 Prune digest references when deleting by tag
When pulling an image with content trust enabled, two references are
created: a digest reference and a tag reference. Deleting by tag
wouldn't actually remove the image, because the digest reference keeps
it alive.

This change modifies the rmi logic so that digest references don't keep
an image alive. If the last tag referencing a given image is deleted,
any digest references to it will be removed as well, so the image can
actually get deleted. This fixes the usability problem with deletions
when content trust is in use, so something like "docker pull busybox;
docker rmi busybox" will work as expected.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-12 12:11:43 -08:00
..
attach.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
build.md Fix docs for memory-swap 2015-12-30 09:23:35 +08:00
cli.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
commit.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
cp.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
create.md Fix docs for memory-swap 2015-12-30 09:23:35 +08:00
daemon.md Add ability to set cgroup parent for all containers 2016-01-04 15:16:25 -08:00
diff.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
docker_images.gif retooling for hugo 2015-06-15 13:19:38 -07:00
events.md Add filter by event type and documentation. 2016-01-04 14:58:04 -05:00
exec.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
export.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
history.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
images.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
import.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
index.md Implemet docker update command 2015-12-28 19:19:26 +08:00
info.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
inspect.md Update integration tests when container and image have same name 2015-12-29 11:08:31 +08:00
kill.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
load.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
login.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
logout.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
logs.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_connect.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_create.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_disconnect.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_inspect.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_ls.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_rm.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
pause.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
port.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
ps.md Improvement for docker subcommand's help messages 2016-01-01 12:27:28 +08:00
pull.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
push.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
rename.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
restart.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
rm.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
rmi.md Prune digest references when deleting by tag 2016-01-12 12:11:43 -08:00
run.md Merge pull request #15666 from vdemeester/3519-configurable-escape 2016-01-04 00:49:07 +01:00
save.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
search.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
start.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
stats.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
stop.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
tag.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
top.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
unpause.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
update.md Implemet docker update command 2015-12-28 19:19:26 +08:00
version.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
volume_create.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
volume_inspect.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
volume_ls.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
volume_rm.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
wait.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00