Sobes.tech
Middle

Do you know the command to download an image from Docker Hub?

sobes.tech AI

Answer from AI

To download an image from Docker Hub, use the command:

docker pull <image_name>[:tag]

For example, to download the official nginx image with the latest tag, run:

docker pull nginx

If you need to specify a particular version, for example 1.21, then:

docker pull nginx:1.21