Aqui está minha abordagem para instalar o mecanismo docker , ver se isso ajuda
Eu segui as instruções da página oficial do docker para instalar o motor docker, mas eu enfrentei o mesmo problema que você fez
Então, ignorado para instalar os pacotes linux-image-extra- *
e foi em frente para instalar o motor docker
$apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
docker-engine : Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6 is to be installed
Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.77-6ubuntu2 is to be installed
Depends: libltdl7 (>= 2.4.6) but it is not going to be installed
Depends: libsystemd0 but it is not installable
Recommends: aufs-tools but it is not going to be installed
Recommends: cgroupfs-mount but it is not installable or
cgroup-lite but it is not going to be installed
Execute o seguinte comando para ver a entrada retornada para cada versão do Docker disponível para instalação.
~# apt-cache policy docker-engine
docker-engine:
Installed: (none)
Candidate: 1.12.5-0~ubuntu-xenial
Version table:
1.12.5-0~ubuntu-xenial 0
500 https://apt.dockerproject.org/repo/ ubuntu-xenial/main amd64 Packages
1.12.5-0~ubuntu-trusty 0
500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
1.12.4-0~ubuntu-xenial 0
500 https://apt.dockerproject.org/repo/ ubuntu-xenial/main amd64 Packages
Corri o seguinte comando para instalar uma versão específica do motor docker (De cima: Candidato: 1.12.5-0 ~ ubuntu-xenial)
apt-get install docker-engine=1.12.5-0~ubuntu-xenial
docker instalado com sucesso!