我无法在Debian 8 Jessie上安装Docker

时间:2018-08-27 19:41:46

标签: docker installation dpkg debian-jessie docker-ce

我试图将Docker安装在装有Debian 8(Jessie)的计算机上,但是无论尝试如何,我似乎总是遇到错误。

使用以下说明:https://docs.docker.com/install/linux/docker-ce/debian

检查内核:

uname -r
3.16.0-4-686-pae

命运的时刻:

sudo apt-get install docker-ce

Setting up docker-ce (18.06.1~ce~3-0~debian) …
Installing new version of config file /etc/bash_completion.d/docker …
Job for docker.service failed. See ‘systemctl status docker.service’ and ‘journalctl -xn’ for details.
invoke-rc.d: initscript docker, action “start” failed.
dpkg: error processing package docker-ce (–configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u10) …
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

我还尝试过直接通过软件包安装:https://download.docker.com/linux/debian/dists/jessie/pool/stable/amd64/ (选择17.03.2版)

在安装依赖项之后,仍然无法正常工作:

sudo dpkg --install  docker-ce_17.03.2_ce-0_debian-jessie_amd64.deb

(Reading database ... 169325 files and directories currently installed.)
Preparing to unpack docker-ce_17.03.2_ce-0_debian-jessie_amd64.deb ...
Unpacking docker-ce (17.03.2~ce-0~debian-jessie) over (17.03.2~ce-0~debian-jessie) ...
Setting up docker-ce (17.03.2~ce-0~debian-jessie) ...
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker-ce (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
 docker-ce

我也看了这篇文章:http://www.boynux.com/docker-jessie/ 但是我什至没有走过第一步:

curl https://get.docker.com | sh

Either your platform is not easily detectable or is not supported by this
installer script.
Please visit the following URL for more detailed installation instructions:

https://docs.docker.com/engine/installation/

在这些尝试的每一次之间,我都做了

sudo apt-get remove docker docker-engine docker.io docker-ce
sudo apt-get update

1 个答案:

答案 0 :(得分:1)

docker-ce不适用于i686

请参阅OS requirements

  

Jessie和Stretch的x86_64(或amd64)和armhf体系结构都支持Docker CE。