Created
April 13, 2017 08:27
-
-
Save holazt/abb55da9b20ec8c61ab9a738c7917c34 to your computer and use it in GitHub Desktop.
Docker CE on Linux Mint 18.1
This file contains hidden or 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
| 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