Wednesday, 24 June 2020

DOCKER - HOW TO DOWNLOAD DOCKER IMAGE FROM DOCKER HUB

DOCKER - HOW TO DOWNLOAD DOCKER IMAGE FROM DOCKER HUB


In the below example, we will download the docker image - whalesay from Docker Hub and will run it on the local system. In order to do that run the command:- 

docker run docker/whalesay cowsay Hello World!
 
This would download the docker image - whalesay from Docker Hub and will 
display a message - Hello World! as shown below. 


 
 

1 comment:

  1. Really helpful down to the ground, happy to read such a useful post. I got a lot of information through it and I will surely keep it in my mind. Keep sharing. If you are looking for some useful data and information regarding docker image and dockerfile then visit Coding Dolphin.

    ReplyDelete