how to use docker pull image code example

Example 1: docker pull command

docker pull ubuntu:14.04

docker pull ubuntu
docker pull fedora

NOTE:
Docker Hub contains many pre-built images that you can pull
docker pull <Image>:<tag>
docker pull <Image>

Example 2: docker url image

For those trying to create a Google Cloud instance using the "Deploy a container image to this VM instance." option then the correct url format would be

docker.io/<dockerimagename>:version

The suggestion above of registry.hub.docker.com/library/<dockerimagename> did not work for me.

I finally found the solution here (in my case, i was trying to run docker.io/tensorflow/serving:latest)

Tags:

Php Example