Docker naming is a bit confusing. There's, repos, images, tags, image ids, and image digests.
docker tag takes a tag, right? No. It takes an image name and optionally a tag (see man docker tag). Though, the image name can be prefixed with a repository.
What about docker build --tag. That surely takes a tag? Again no. It's like docker tag. It takes an image name with an optional repo prefix and optional tag suffix.
docker images shows REPOSITORY and TAG, though the thing under REPOSITORY may not have a repository at all.
This PR tries to clarify some wording around docker by renaming some places we say "tag" to say "image" instead. It also updates some stale documentation.
Docker naming is a bit confusing. There's, repos, images, tags, image ids, and image digests.
docker tag
takes a tag, right? No. It takes an image name and optionally a tag (seeman docker tag
). Though, the image name can be prefixed with a repository.docker build --tag
. That surely takes a tag? Again no. It's likedocker tag
. It takes an image name with an optional repo prefix and optional tag suffix.docker images
showsREPOSITORY
andTAG
, though the thing underREPOSITORY
may not have a repository at all.This PR tries to clarify some wording around docker by renaming some places we say "tag" to say "image" instead. It also updates some stale documentation.