wlhavw
Last Updated: February 25, 2016
·
13.99K
· wiltan

Installing Docker 0.8 on Debian Wheezy in 60 seconds

It's not well publicized, but Docker's Ubuntu repository (and deb packages) are compatible with Debian. No dependency on custom kernel or Go.

echo deb http://get.docker.io/ubuntu docker main | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo apt-get update
sudo apt-get install -y lxc-docker

5 Responses
Add your response

14118

Thanks for that! Still works perfectly on lxc-docker 0.10.0 and still not in the documentation (https://www.docker.io/gettingstarted/#h_installation). Ah Debian, that obscure Linux distribution...

over 1 year ago ·
14310

Thank you so much!

over 1 year ago ·
15229

Great snippet. Thank you!

over 1 year ago ·
16148

Looks fine. thanks!

over 1 year ago ·
16383

I had to use the following for the key retrieval on Debian 7.6:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A88D21E9

That successfully installed:
Docker version 1.2.0, build fa7b24f

over 1 year ago ·