Everything Shell Script

  • Home
  • Home

Thursday, 29 June 2017

How to install Docker and run Docker containers on Linux Mint 18/18.1

 Niraj Bhagchandani     05:31:00     Docker in Mint 18.1, Docker Linux Mint, Install Docker, Install Docker in Mint 18, Install Docker Linux Mint     No comments   


https://c1.staticflickr.com/8/7336/14098888813_1047e39f08.jpg    https://c1.staticflickr.com/3/2543/3844521796_c8945ea740_z.jpg?zz=1

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.
  1. Blog: http://eshellscript.blogspot.com/2017/06/how-to-install-docker-and-run-docker.html
  2. Youtube Video: Comming Soon.
  3. Google Docs: https://docs.google.com/document/d/1BdOGIhxOeXuhJkeTPPnQBsZqa27JDYuLOILq4zmuT-c/edit?usp=sharing
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Older Post Home

0 comments:

Post a Comment

Amazon Ads

Popular Posts

  • 12 differnet examples of For Loop in Shell Script
    The Link to programs given in this tutorial is:  https://goo.gl/akbcTw Well, to begin with FOR LOOP, I would tell that there are 2 diff...
  • Powerline – Adds Powerful Statuslines and Prompts to Vim Editor and Bash Terminal
    Powerline is a great statusline plugin for Vim editor , which is developed in Python and provides statuslines and prompts for many other...
  • How to install Docker and run Docker containers on Linux Mint 18/18.1
         How to install Docker and run Docker containers on Linux Mint 18/18.1 So, now before going through all the steps update and upg...
  • While Loop in Shell Script
    To run the given example live online please visit the following link: https://goo.gl/mD69Gj There are basic loops in shell script. For ...
  • Until Loop in Shell Script.
    To run these programs online I request you to go to following link: https://goo.gl/xKheU3 The until loop is similar to while loop in shel...
  • Variables in Shell Script - Part 1
      Every Programming language in existence has the concepts of variable – It can be termed as a chunk of memory which can be assigned valu...
  • Escape character in Shell Script
    Okay!! uptil now we have seen a lot of stuffs regarding Shell Script. But how about escape characters Example: What if you want to displa...
  • Wildcards
     A wildcard is a character that can be used as a substitute for any of a class of characters in a search, thereby greatly increasin...
  • My First Shell Script.
    My First Shell script We are about to write a script for Hello World. After that we will have some flavors of Hello World Program. Fir...

Recent Posts

Categories

  • Docker in Mint 18.1
  • Docker Linux Mint
  • Install Docker
  • Install Docker in Mint 18
  • Install Docker Linux Mint
  • tecmint

Pages

  • Home

Text Widget

Blog Archive

  • ▼  2017 (1)
    • ▼  June (1)
      • How to install Docker and run Docker containers on...
  • ►  2016 (8)
    • ►  November (1)
    • ►  October (7)

Page Views:

About Me

Niraj Bhagchandani
View my complete profile

Search Here:

Powered by Blogger.

Sample Text

Copyright © Everything Shell Script | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates