Docker image tag (docker tag)

Опубликовано: 01 Октябрь 2024
на канале: Francesco Ciulla
512
35

Find Francesco ➡️ http://francescociulla.com

The docker image tag command (or simply docker tag) is used to create an alias by the name of the TARGET_IMAGE that refers to the SOURCE_IMAGE.

It’s like assigning an existing image another name, a nickname to refer to it.

the tag is optional: if an image is tagged without an explicit tag, it’s given the tag "latest" by default.

The image ID doesn’t change