Running hello world docker image - NidhiSingh0068/Docker-Content GitHub Wiki

First of all. The basic format of command for docker is:

sudo docker [option] [command] [argument]

To see all the images present, run:

docker image image

At first when you install docker, you will see a hello-world repository. This is the default repository present when you install docker.

Now, lets run this image. To run a docker image: sudo docker run [image-name]

image