Skip to content

Instantly share code, notes, and snippets.

@holazt
Created April 13, 2017 08:27
Show Gist options
  • Select an option

  • Save holazt/abb55da9b20ec8c61ab9a738c7917c34 to your computer and use it in GitHub Desktop.

Select an option

Save holazt/abb55da9b20ec8c61ab9a738c7917c34 to your computer and use it in GitHub Desktop.
Docker CE on Linux Mint 18.1
Here are the instructions to installing Docker CE on Linux Mint 18.1 Serena.
Step1. `sudo apt-get install apt-transport-https ca-certificates curl software-properties-common`
Step2. `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -`
The following line in the SOURCE automatically determines the distribution, which is Serena,
but there are no Linux Mint packages for Docker. You have to change it to the matching Ubuntu distribution.
FYI Linux Mint Serena is based on Ubuntu 16.04 Xenial.
Step3. `sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"`
Step4. `sudo apt-get update`
Step5. `sudo apt-get install docker-ce`
Test the Docker install with this command. It will automatically download the hello-world image and run it.
Step6(Optional). `sudo docker run hello-world`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment