Docker Community Forums

Share and learn in the Docker community.

Unable to find/install docker-engine

(Bcokert) #1


The instructions for installing on Debian were recently updated:
(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 jessie InRelease
Hit jessie-updates InRelease
Get:1 debian-jessie InRelease [454 B]
Ign debian-jessie InRelease
Hit jessie Release.gpg
Hit jessie/updates InRelease
Hit jessie/updates/main Sources
Hit jessie-updates/main Sources
Hit jessie/updates/main i386 Packages
Hit debian-jessie Release.gpg
Hit jessie/updates/main Translation-en
Hit jessie-updates/main i386 Packages
Hit debian-jessie Release
Hit jessie-updates/main Translation-en
Hit debian-jessie/main i386 Packages
Hit jessie Release
Get:2 debian-jessie/main Translation-en_US [454 B]
Hit jessie/main Sources
Get:3 debian-jessie/main Translation-en [454 B]
Hit jessie/main i386 Packages
Hit jessie/main Translation-en
Get:4 debian-jessie/main Translation-en_CA [454 B]
Get:5 debian-jessie/main Translation-en_US [454 B]
Get:6 debian-jessie/main Translation-en [454 B]
Get:7 debian-jessie/main Translation-en_CA [454 B]
Get:8 debian-jessie/main Translation-en_US [454 B]
Get:9 debian-jessie/main Translation-en [454 B]
Get:10 debian-jessie/main Translation-en_CA [454 B]
Get:11 debian-jessie/main Translation-en_US [454 B]
Get:12 debian-jessie/main Translation-en [454 B]
Get:13 debian-jessie/main Translation-en_CA [454 B]
Get:14 debian-jessie/main Translation-en_US [454 B]
Ign debian-jessie/main Translation-en_US
Get:15 debian-jessie/main Translation-en [454 B]
Ign debian-jessie/main Translation-en
Get:16 debian-jessie/main Translation-en_CA [454 B]
Ign debian-jessie/main Translation-en_CA
Reading package lists... Done

brandono@elophant-dev:~$ cat /etc/apt/sources.list.d/docker.list
deb debian-jessie main

brandono@elophant-dev:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 debian-jessie/main i386 Packages
     release o=Docker,a=debian-jessie,n=debian-jessie,l=Docker APT Repository,c=main
 500 jessie-updates/main Translation-en
 500 jessie-updates/main i386 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
 500 jessie/updates/main Translation-en
 500 jessie/updates/main i386 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
 500 jessie/main Translation-en
 500 jessie/main i386 Packages
     release v=8.2,o=Debian,a=stable,n=jessie,l=Debian,c=main
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):

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:

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


(Bcokert) #2

I tried installing that was found in the steps I detailed previously. It’s been marked as deprecated.

brandono@elophant-dev:~$ sudo apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package '' has no installation candidate

(Ranjandas) #3


As of now Docker deamon only has packages available for 64 bit Linux hosts. Docker client works on both 32 bit and 64 bit Machines. So you should try the installation on a 64bit debian box.


(Rupeshrams) #4

Seems repos was not updated for docker. try to run apt-get install that will resolve the dependencies and install it,

The following NEW packages will be installed:
cgroupfs-mount ubuntu-fan