Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AntoscencoVladimir/9f102dae6475f303dd662d2f276918ba to your computer and use it in GitHub Desktop.
Save AntoscencoVladimir/9f102dae6475f303dd662d2f276918ba to your computer and use it in GitHub Desktop.
Install docker Linux mint 18 Cinnamon
# 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