This forum provides solutions for aws developers for their issues.It provides solutions for aws elastic ip, ec2 instance, public ip,route53 pricing, load balancers in aws,Orchestration, ebs,, lambda, installing mongodb on ubuntu etc.

Thursday 15 June 2017

Install Docker on Ubuntu 16.04 AWS, DigitalOcean Ubuntu, or any Ubuntu Version

Docker is a container platform which allows to run application processes in a container.

Check the current os version

for ubuntu
uname -a
Linux server1 4.4.0-31-generic #50-ubuntu SMP ......
Check ubuntu version
cat /etc/lsb-release
Step1:
add GPG key for offical docker repo to the ubuntu system
$curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Step2:

$sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Step3:
$sudo apt-get update
Step4:
Install Docker CE, docker daemon start automatically
$sudo apt-get install docker-ce
Installtion done. Ready to go ......

Step5:
Verify docker installed correctly or not
 $sudo docker run hello-world
Check Docker version:

$ docker version








Uninstall docker


$ sudo apt-get purge docker-ce


0 coment�rios:

Post a Comment

Labels

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts