gpt4 book ai didi

docker - 我无法在 Debian 8 Jessie 上安装 Docker

转载 作者:行者123 更新时间:2023-12-01 09:35:33 25 4
gpt4 key购买 nike

我正在尝试在装有 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

最佳答案

docker-ce 不适用于 i686

参见 OS requirements

Docker CE is supported on both x86_64 (or amd64) and armhf architectures for Jessie and Stretch.

关于docker - 我无法在 Debian 8 Jessie 上安装 Docker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52046014/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com