Please find the steps needed for installing Docker in Ubuntu 16.0.4 instance.
sudo curl -fsSL https://download.docker.com/ linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/ linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-cache policy docker-ce
sudo apt-get install -y docker-ce
sudo systemctl status docker
now press q to come out this.
ps -ef | grep docker
docker --version
sudo docker run hello-world
the above command should display the below message..
you should see below message
sudo curl -fsSL https://download.docker.com/
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/
sudo apt-get update
sudo apt-cache policy docker-ce
sudo apt-get install -y docker-ce
sudo systemctl status docker
now press q to come out this.
ps -ef | grep docker
docker --version
sudo docker run hello-world
the above command should display the below message..
you should see below message
Hello from Docker!
This message shows that your installation appears to be working correctly.
Also, create an account(keep all lowercase in your username) in the below website for storing docker images in public docker registry..
ReplyDeleteThis great article has really peaked my interest. I am going to book mark your blog and keep checking for new information about once per week.
Oracle Training in Chennai | Certification | Online Training Course | Oracle Training in Bangalore | Certification | Online Training Course | Oracle Training in Hyderabad | Certification | Online Training Course | Oracle Training in Online | Oracle Certification Online Training Course | Hadoop Training in Chennai | Certification | Big Data Online Training Course
It is amazing and wonderful to visit your site DevOps Training in Bangalore | Certification | Online Training Course institute | DevOps Training in Hyderabad | Certification | Online Training Course institute | DevOps Training in Coimbatore | Certification | Online Training Course institute | DevOps Online Training | Certification | Devops Training Online
ReplyDelete