Skip to content

Instantly share code, notes, and snippets.

@Simplesmente
Created August 10, 2017 17:21
Show Gist options
  • Star 27 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save Simplesmente/a84343b1f71a46bbeedbb6c9b20fa9c1 to your computer and use it in GitHub Desktop.
Save Simplesmente/a84343b1f71a46bbeedbb6c9b20fa9c1 to your computer and use it in GitHub Desktop.
Install docker Linux Mint 18.2
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
@ScottWelker
Copy link

...always leave 'em wanting more eh?
Just poking fun. I suspect you've done some good work here. I may return to study it. Thanks for sharing.

@JREAM
Copy link

JREAM commented Nov 22, 2017

Noice

@lfreire80
Copy link

Thank you!

@Betanin
Copy link

Betanin commented Jan 25, 2018

Thanks!

@BolkunetsAlexandr
Copy link

Thank you!

@watchdogR
Copy link

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

@alexfraundorf-com
Copy link

This worked perfectly using the fix (sudo su) recommended by watchdogR.
Thank you very much for sharing this!

@username-is-already-taken2

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.

additional_docker_repo

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

@maxon755
Copy link

Thank you a lot!

@tcoker
Copy link

tcoker commented Nov 13, 2018

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