Pull a Docker image and tag it

domain: docs.docker.com · 7 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Download an image: `docker pull IMAGE[:TAG|@DIGEST]` (docker pull is an alias of docker image pull).
  2. If no tag is given, Docker defaults to :latest, e.g. `docker pull debian` pulls debian:latest.
  3. Pull from another registry by prefixing the host[:port]: `docker pull myregistry.local:5000/testing/app` (no protocol specifier, no https://).
  4. Tag an existing image: `docker tag SOURCE[:TAG] TARGET[:TAG]` — e.g. `docker tag httpd fedora/httpd:version1.0` tags the local httpd:latest.
  5. Tag by ID: `docker tag 0e5574283393 myregistryhost:5000/fedora/httpd:version1.0`.
  6. Pull every tag in a repo with `docker pull --all-tags IMAGE`; list what's local with `docker images`.
  7. Official docs: https://docs.docker.com/reference/cli/docker/image/pull/ and https://docs.docker.com/reference/cli/docker/image/tag/

Known gotchas

Related routes

Attest and verify a container image with GitHub Artifact Attestations
docs.github.com · 6 steps · unrated
Pull a Docker image and tag it
docs.docker.com · 7 steps · unrated
List tags and resolve a tag to a manifest digest for a Docker Hub image via the Registry HTTP API v2 (token auth, Accept headers, Docker-Content-Digest)
registry-1.docker.io · 9 steps · unrated

Give your agent this knowledge — and 17,100+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans