Docker tag

From NovaOrdis Knowledge Base
Revision as of 23:31, 10 November 2020 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

docker tag source-image[:tag] target-image[:tag]

Create a tag target-image that refers to source-image.

Removing a Tag

If an image is tagged by more than one tag, Docker rmi will remove the tag but not the image:

docker rmi my-image:redundat-tag
Untagged my-image:redundat-tag