How to install Docker and run Docker containers on Linux Mint 18/18.1
So, now before going through all the steps update and upgrade the required repositories and applications.
Step A.
sudo apt-get update # Enter the Password if asked
sudo apt-get upgrade # Enter the Password if asked
Step 1.
# Let us import the GPG key.
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \
--recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Step 2.
# Add repository to the package manager, thus point to official
# Docker Repository
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
Step 3.
# Now, Let us update the Repository...
sudo apt update
Step 4.
# Installing all the unmet dependencies and fix certain issues if any
# before installation
sudo apt install linux-image-generic linux-image-extra-virtual
Step 5.
# As we have updated the linux image and other extra stuffs it is
#recommended to reboot the system to take effect in kernel.
sudo reboot
Step 6.
# Finally, we come to the point… Let’s Install Docker
sudo apt install docker-engine
Step 7.
# Voilla, its installed now let us Run a Docker container
# This container is just a test container, and it will run and exit
sudo docker run hello-world
For more queries and answer you can post your comments in my blog or youtube video.
- Blog: http://eshellscript.blogspot.com/2017/06/how-to-install-docker-and-run-docker.html
- Youtube Video: Comming Soon.
- Google Docs: https://docs.google.com/document/d/1BdOGIhxOeXuhJkeTPPnQBsZqa27JDYuLOILq4zmuT-c/edit?usp=sharing