Hello!
The instructions for installing on Debian were recently updated:
https://docs.docker.com/installation/debian/#debian-jessie-80-64-bit
(I’m running Jessie 8.2, which has kernel 3.16)
For the most part they seem to work - I have the gpg key installed and can see that the apt repo is being checked. But I cannot find the docker-engine package:
brandono@elophant-dev:~$ sudo apt-get update
Ign http://ftp.ca.debian.org jessie InRelease
Hit http://ftp.ca.debian.org jessie-updates InRelease
Get:1 https://apt.dockerproject.org debian-jessie InRelease [454 B]
Ign https://apt.dockerproject.org debian-jessie InRelease
Hit http://ftp.ca.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.ca.debian.org jessie-updates/main Sources
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit https://apt.dockerproject.org debian-jessie Release.gpg
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.ca.debian.org jessie-updates/main i386 Packages
Hit https://apt.dockerproject.org debian-jessie Release
Hit http://ftp.ca.debian.org jessie-updates/main Translation-en
Hit https://apt.dockerproject.org debian-jessie/main i386 Packages
Hit http://ftp.ca.debian.org jessie Release
Get:2 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Hit http://ftp.ca.debian.org jessie/main Sources
Get:3 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Hit http://ftp.ca.debian.org jessie/main i386 Packages
Hit http://ftp.ca.debian.org jessie/main Translation-en
Get:4 https://apt.dockerproject.org debian-jessie/main Translation-en_CA [454 B]
Get:5 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Get:6 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:7 https://apt.dockerproject.org debian-jessie/main Translation-en_CA [454 B]
Get:8 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Get:9 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:10 https://apt.dockerproject.org debian-jessie/main Translation-en_CA [454 B]
Get:11 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Get:12 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:13 https://apt.dockerproject.org debian-jessie/main Translation-en_CA [454 B]
Get:14 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en_US
Get:15 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en
Get:16 https://apt.dockerproject.org debian-jessie/main Translation-en_CA [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en_CA
Reading package lists... Done
brandono@elophant-dev:~$ cat /etc/apt/sources.list.d/docker.list
deb https://apt.dockerproject.org/repo debian-jessie main
brandono@elophant-dev:~$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://apt.dockerproject.org/repo/ debian-jessie/main i386 Packages
release o=Docker,a=debian-jessie,n=debian-jessie,l=Docker APT Repository,c=main
origin apt.dockerproject.org
500 http://ftp.ca.debian.org/debian/ jessie-updates/main Translation-en
500 http://ftp.ca.debian.org/debian/ jessie-updates/main i386 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
origin ftp.ca.debian.org
500 http://security.debian.org/ jessie/updates/main Translation-en
500 http://security.debian.org/ jessie/updates/main i386 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin security.debian.org
500 http://ftp.ca.debian.org/debian/ jessie/main Translation-en
500 http://ftp.ca.debian.org/debian/ jessie/main i386 Packages
release v=8.2,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin ftp.ca.debian.org
Pinned packages:
brandono@elophant-dev:~$ sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
brandono@elophant-dev:~$ sudo apt-cache policy docker-engine
N: Unable to locate package docker-engine
It seems that this repo does not contain the package (or perhaps there’s some config I’m missing).
There is an entry under my setup on the repo (add https:// to see in browser):
apt.dockerproject.org/repo/dists/debian-jessie/main/
But I noticed that i386 has size 0 (may not matter).
I’ve tried rebooting (this is a new machine), apt-get upgrade, and googling, but haven’t found anything that helps.
I did find different install instructions on the master docs:
http://docs.master.dockerproject.org/installation/debian/
And indeed, if I look for the old package, I find it. Could the new docs simply be pointing to the wrong package?
brandono@elophant-dev:~$ sudo apt-cache policy docker.io
docker.io:
Installed: (none)
Candidate: (none)
Version table:
I’m tempted to install that one, but I don’t want to shoot myself in the foot in case it is no longer supported. Any help or advice is appreciated.
Thanks!