Ubuntu 16.04 上 Docker 安装失败(未知错误)

Ubuntu 16.04 上 Docker 安装失败(未知错误)

我正在尝试安装 BigBlueButton,目前为止一切正常(sudo bbb-conf --status 将所有部分标记为活动状态)。但是使用存储库的 docker 安装失败(sudo apt-get install docker-ce docker-ce-cli containerd .io)。

Setting up docker-ce (5:20.10.3~3-0~ubuntu-xenial) … Job for
docker.service failed because the control process exited with error
code. See “systemctl status docker.service” and “journalctl -xe” for
details. invoke-rc.d: initscript docker, action “start” failed.
    ● docker.service - Docker Application Container Engine
    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Fri 2021-02-19 14:48:45 CET; 4ms ago
    Docs: *************
    Process: 7021 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
    Main PID: 7021 (code=exited, status=1/FAILURE)

Feb 19 14:48:45 ubuntuserver systemd[1]: Failed to start Docker
Application …
    Feb 19 14:48:45 ubuntuserver systemd[1]: docker.service: Unit entered failed…
    Feb 19 14:48:45 ubuntuserver systemd[1]: docker.service: Failed with result …
    Hint: Some lines were ellipsized, use -l to show in full.
    dpkg: error processing package docker-ce (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of docker-ce-rootless-extras:
    docker-ce-rootless-extras depends on docker-ce; however:
    Package docker-ce is not configured yet.

dpkg: error processing package docker-ce-rootless-extras (–configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Processing triggers for systemd (229-4ubuntu21.29) …
    Processing triggers for ureadahead (0.100.0-19.1) …
    Errors were encountered while processing:
    docker-ce
    docker-ce-rootless-extras
    E: Sub-process /usr/bin/dpkg returned an error code (1)

systemctl status docker.service说:

docker.service - Docker Application Container Engine
    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e
    Active: failed (Result: start-limit-hit) since Fri 2021-02-19 14:48:54 CET; 8
    Docs: *************
    Process: 7267 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd
    Main PID: 7267 (code=exited, status=1/FAILURE)

journalctl -xe说:

Feb 19 14:56:48 ubuntuserver systemd[1]: Stopped target BigBlueButton
recording

– Subject: Unit bbb-record-core.target has finished shutting down
    – Defined-By: systemd
    – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    – Unit bbb-record-core.target has finished shutting down.
    Feb 19 14:57:06 ubuntuserver systemd_start.sh[1606]: info: Checking for inactive
    Feb 19 14:57:06 ubuntuserver systemd_start.sh[1606]: info: No inactive users
    Feb 19 14:57:29 ubuntuserver systemd[1]: Reached target BigBlueButton recording
    – Subject: Unit bbb-record-core.target has finished start-up
    – Defined-By: systemd
    – Support: *************
    – Unit bbb-record-core.target has finished starting up.
    – The start-up result is done.
    Feb 19 14:57:29 ubuntuserver systemd[1]: bbb-record-core.target: Unit not needed
    Feb 19 14:57:29 ubuntuserver systemd[1]: Stopped target BigBlueButton recording
    – Subject: Unit bbb-record-core.target has finished shutting down
    – Defined-By: systemd
    – Support: *************

Unit bbb-record-core.target has finished shutting down.

我试了好几天了。卸载并删除了 Docker 页面上显示的所有内容(“卸载 Docker”)。有些人也遇到过类似的问题,但我找到的解决方案对我没有用。

提前致谢!问候

/编辑:我正在使用全新安装的 Ubuntu Server 16.04。(BigBlueButton 必备)。我安装了一个 GUI(xfce4)。

/edit2:“有时我们会被问到‘为什么你们只支持 Ubuntu 16.04 64 位?’”答案是基于选择质量而不是数量。很久以前,我们就得出结论,对于项目来说,拥有一个稳定、经过充分测试、有据可查的特定版本的 Linux 安装,并且运行得非常好,比尝试支持许多 Linux 变体,但都无法很好地运行要好。”这就是 BBB 安装所说的。

答案1

好吧,伙计们,我放弃了。它只支持 16.04,我自己也找不到错误 :´( 无论如何,谢谢你们的回答 :)

相关内容