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.
In
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
not
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>
Click to learn more