Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

ScottWelker commented Nov 3, 2017

...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

This comment has been minimized.

Copy link

JREAM commented Nov 22, 2017

Noice

@lfreire80

This comment has been minimized.

Copy link

lfreire80 commented Dec 4, 2017

Thank you!

@Betanin

This comment has been minimized.

Copy link

Betanin commented Jan 25, 2018

Thanks!

@BolkunetsAlexandr

This comment has been minimized.

Copy link

BolkunetsAlexandr commented Jan 30, 2018

Thank you!

@watchdogR

This comment has been minimized.

Copy link

watchdogR commented Mar 1, 2018

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

This comment has been minimized.

Copy link

alexfraundorf-com commented Mar 23, 2018

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

@username-is-already-taken2

This comment has been minimized.

Copy link

username-is-already-taken2 commented Apr 1, 2018

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
@MaksimGayduk

This comment has been minimized.

Copy link

MaksimGayduk commented Sep 22, 2018

Thank you a lot!

@tcoker

This comment has been minimized.

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