docker pull image code example
Example 1: docker hello world
sudo docker run hello-world
Example 2: 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 3: pushing image to docker hub
docker push yourhubusername/verse_gapminder
Example 4: 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)