Created
June 13, 2017 00:55
-
-
Save AntoscencoVladimir/9f102dae6475f303dd662d2f276918ba to your computer and use it in GitHub Desktop.
Install docker Linux mint 18 Cinnamon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First import the GPG key | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \ | |
--recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
# Next, point the package manager to the official Docker repository | |
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
# Update the package database | |
sudo apt update | |
# | |
Install required packages for DockerShell | |
# Installing both packages will eliminate an unmet dependencies error when you try to install the | |
# linux-image-extra-virtual by itself | |
sudo apt install linux-image-generic linux-image-extra-virtual | |
# Reboot the system so it would be running on the newly installed kernel image | |
sudo reboot | |
# | |
# Install Docker | |
sudo apt install docker-engine | |
# | |
# Run a Docker container | |
# This container is just a test container, and it will run and exit | |
sudo docker run hello-world | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment