Forrest logo
back to the docker tool

docker:tldr:30858

docker: Download a Docker images for a specific platform, e.g. linux/amd64.
$ docker pull --platform ${linux-amd64} ${image}:${tag}
try on your machine

This command is used to pull a Docker image from a registry. Here is the breakdown of each part of the command:

  • docker pull: This is the Docker command used to pull an image from a registry.
  • --platform ${linux-amd64}: This flag specifies the platform for which the image should be pulled. In this case, the platform is specified as linux-amd64, which refers to the Linux operating system running on an AMD64 CPU architecture.
  • ${image}:${tag}: This is the name and tag of the Docker image to pull. The ${image} variable represents the name of the image, and the ${tag} variable represents the specific version or tag of the image.

To use this command, replace ${linux-amd64} with the desired platform, and ${image}:${tag} with the specific image and tag you want to pull.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the docker tool