Nowadays, docker is going to use globally. As a developer, it will help me a lot with this:
- Escape app dependency
- works with any technology
- Easy to share via repo
Here are few steps for easy installation of Docker in Ubuntu 16.04
Install packages to allow apt to use a repository over HTTPS:
Now update the package for Docker
If it will give you permission error due to sudo then add sudo with command
If image is not searchable on locally then it will get it from Docker hub
Sachin New
Sachin 10 Oct
Steve Single Product
sudo apt-get install apt-transport-https ca-certificates curl software-properties-commonAdd the GPG key for the official Docker repository to the system:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -Add the Docker repository to APT sources:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Now update the package for Docker
sudo apt-get updateNow, Install Docker with:
sudo apt-get install -y docker-ceCheck if Docker is running or not with
sudo systemctl status dockerNow you can check that if you are able to access and download Docker images from Docker hub or not with "Hello World" image
docker run hello-world
If it will give you permission error due to sudo then add sudo with command
If image is not searchable on locally then it will get it from Docker hub
Sachin New
Sachin 10 Oct
Steve Single Product
Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. Business IT Support
ReplyDelete