私は以下の手順に従ってDockerをインストールしようとしています。ドキュメンテーション。
ファイルのダウンロードは成功しますが、インストール後のスクリプトは失敗します。
Setting up docker-ce (5:20.10.8~3-0~ubuntu-focal) ...
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 Sat 2021-08-21 11:44:55 CDT; 3ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 138394 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 138394 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
利用できる補助的な情報はあまりありません。
user@machine:~$ systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-08-21 11:45:03 CDT; 29s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 138847 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 138847 (code=exited, status=1/FAILURE)
調べてもjournalctl -xe
情報は提供されず、これらのインストール試行に対応するログ エントリはありません。
エラー行が参照されますここしかし、これはかなり古いもので、完全な削除とファイルの消去を試みましたが、効果はありませんでした。この問題に関して報告されているカーネルの問題は、docker が 3.10 未満のカーネル バージョンをサポートしなくなった過去の時期に関係しているようです。私は 5.11 を使用していますが、これがもう問題であるという兆候は見られません。
これは、重複ですが、私はロシア語を話せないのでよく分かりません。いずれにしてもその質問には答えがありません。