Docker

Docker Pull

What a docker pull does?

Docker is an open-source platform for building, managing, and running containers.

Docker images usually stored in dockerhub.  Dockerhub is the largest repository for container images.

Dockerhub, you will find official images and images from the developer and open-source contributors.

To use an existing image user needs to type the below code

docker pull <IMAGE_NAME>

This pull command will download the image from a repository to the local system.

If the registry is specified then images will be pulled from dockerhub.

Users can type the below command to print the list of available images in local system.

docker image ls

Once the image is locally available, type the below command to start the docker container.

docker run <IMAGE_NAME>