Created
August 10, 2017 17:21
-
-
Save Simplesmente/a84343b1f71a46bbeedbb6c9b20fa9c1 to your computer and use it in GitHub Desktop.
Install docker Linux Mint 18.2
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
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates -y | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
sudo apt-get purge lxc-docker | |
sudo apt-get install linux-image-extra-$(uname -r) -y | |
sudo apt-get install docker-engine cgroup-lite apparmor -y | |
sudo usermod -a -G docker $USER | |
sudo service docker start |
Thanks!
Thank you!
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list
bash: /etc/apt/sources.list.d/docker.list: Permission denied
Resolution: cozy/cozy-docs#146
This worked perfectly using the fix (sudo su) recommended by watchdogR.
Thank you very much for sharing this!
Thank you very much @Simplesmente
With regards to the error trying to sudo echo, if it helps another fellow noob you can manage those repos within the software sources app.
remember to press the update cache button, this will cover off
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list
sudo apt-get update
Thank you a lot!
Solved some problems I was having, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!