Last Updated: September 09, 2019
·
15.19K
· 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

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 ·

Thank you so much!

over 1 year ago ·

Great snippet. Thank you!

over 1 year ago ·

Looks fine. thanks!

over 1 year ago ·

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 ·