moby/docs/reference
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
..
api Merge pull request #19045 from wenchma/network_api_update 2016-01-05 10:55:56 -08:00
commandline Prune digest references when deleting by tag 2016-01-12 12:11:43 -08:00
logging Merge pull request #17891 from splunk/splunk-logger-support-for-tag-env-labels 2015-11-16 10:11:27 -08:00
builder.md Add some docs about build-arg's impact on the cache 2015-11-23 08:51:11 -08:00
glossary.md First pass at consolidating 2015-11-02 21:14:55 -08:00
run.md Fix pid=host example in documentation 2016-01-04 16:25:54 +01:00