Docker Images: Name Vs. Tag Vs. Digest by@vijaysavanth

Docker Images: Name Vs. Tag Vs. Digest

A docker image usually has 3 parts: name, tag, and digest. Images can be pulled using name, or name:tag or [email protected]:digest. Some images are multi-architecture images. In such cases, docker automatically pulls the appropriate image for the os/arch the pull command is run on. Use docker manifest inspect --verbose <name:tag> to view os/arch’s of an image and to get the digest. Avoid using the latest tag in a product environment since it makes rollbacks hard.
image
Vijay Savanth Hacker Noon profile picture

Vijay Savanth

Entrepreneur, Designer & Engineer. Based in Tāmaki Makaurau, Aotearoa (Auckland, New Zealand).

Vijay Savanth Hacker Noon profile picture
by Vijay Savanth @vijaysavanth. Entrepreneur, Designer & Engineer. Based in Tāmaki Makaurau, Aotearoa (Auckland, New Zealand).Read my stories

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.