cli/docs/reference
Aaron Lehmann 442cbbfac1 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>
2017-06-02 00:07:23 +00:00
..
commandline Prune digest references when deleting by tag 2017-06-02 00:07:23 +00:00
builder.md Fix ambassador script based on SvenDowideit/dockerfiles#37 2017-06-02 00:07:23 +00:00
glossary.md First pass at consolidating 2017-06-02 00:07:15 +00:00
run.md Allow user to choose the IP address for the container 2017-06-02 00:07:22 +00:00