How to run hello-world in Docker .






       These  are   following steps  need to    run    Hello  World  in docker.

 

 

 

 

     1 .      Download  docker    latest version  and  install in your machine .

 

          For  mac , window  , Linux    docker   is available  download  the  docker installation

           file  and install it.  Agree  license  and finish installation .

 

 

   2.     Check   docker  version .

 

           If   installation  successful .  Open terminal   Finder  à   Go  à  Utility àTerminal

 

           and  type    comman    $ docker   --version .

 

 




 

3.    Login to  docker  hub. 

 

         Form   running  docker  desktop  login to docker hub.  Search for  hello-world  image

 

         Copy the   pull command  and  go  to  terminal and paste. It will download  hello-world

         Image

 


                       

            


 

4.    Run   hello-world  .

 

  $  docker   run  hello-world



       


How to run hello-world in Docker . How  to run  hello-world  in Docker . Reviewed by Mukesh Jha on 2:59 AM Rating: 5

No comments:

Add your comment

All Right Reserved To Mukesh Jha.. Theme images by Jason Morrow. Powered by Blogger.