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.

Showing posts with label install docker. Show all posts
Showing posts with label install docker. Show all posts

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
add GPG key for offical docker repo to the ubuntu system
$curl -fsSL | sudo apt-key add -


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

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

$ docker version

Uninstall docker

$ sudo apt-get purge docker-ce

Wednesday, 31 May 2017

AWS EC2 - Install Docker on Ubuntu

These are the steps for installing docker on Ubuntu machine.  

    1  sudo apt-get update
    2  sudo apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
    3  sudo apt-add-repository 'deb ubuntu-xenial main'
    4  sudo apt-get update
    5  apt-cache policy docker-engine
    6  sudo apt-get install -y docker-engine
    7  sudo systemctl status docker
    8  docker
   9  docker info
   10  sudo docker info
   11  docker run hello-world
   12  sudo docker run hello-world
   13  docker search ubuntu
   14  sudo docker search ubuntu
   15  history


Online Training

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

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts