【问题标题】:I can't get Docker installed on Debian 8 Jessie我无法在 Debian 8 Jessie 上安装 Docker
【发布时间】:2018-10-16 01:59:56
【问题描述】:

我正在尝试在装有 Debian 8 (Jessie) 的机器上安装 Docker,但无论我尝试什么,我似乎总是遇到错误。

使用这些说明: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

【问题讨论】:

  • 根据错误,您从systemctl status docker.servicejournalctl -xn 获得了哪些日志?你会在你的问题中编辑任何有用的东西吗?
  • Useful search,这里有很多类似的结果。

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


【解决方案1】:

docker-ce 不适用于 i686

OS requirements

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

【讨论】:

    猜你喜欢
    • 2016-12-08
    • 1970-01-01
    • 2016-09-13
    • 2016-05-09
    • 1970-01-01
    • 2017-05-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多