O'Reilly logo

Docker for Serverless Applications by Chanwit Kaewkasi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shipping an image

We usually ship Docker images via a Docker registry. The public registry hosted by Docker Inc. is called Docker Hub. To ship a Docker image to a registry, we use the docker push command. When we start a container, its image will be automatically checked and downloaded to the host before running. The process of downloading can be explicitly done using the docker pull command. The following diagram illustrates the push/pull behavior among different environments and registries:

Figure 2.4: Push and pull image workflow

In the previous diagram, developers pull images from the Docker public registry (Docker Hub) then push and pull ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required