我尝试docker-ce按照官方 Docker 文档中提供的说明使用存储库进行安装。安装在这一点上卡住了:
Setting up docker-ce (17.09.0~ce-0~ubuntu) ...
insserv: warning: script 'K01postgresql-9.5' missing LSB tags and overrides
insserv: warning: script 'postgresql-9.5' missing LSB tags and overrides
Run Code Online (Sandbox Code Playgroud)
等待了很长时间后,我用sudo killall apt-get. 现在,每当我尝试使用使用 apt-get 的命令时,它都会显示以下内容:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Run Code Online (Sandbox Code Playgroud)
当我运行该命令时,它只是开始运行从未完成的原始命令。此时,我只想解决这个问题,甚至无法运行 Docker(我只是想尝试一下)。
我已经尝试了这个相关问题的大多数答案。我什sudo apt-get remove docker-ce至无法使用,因为我遇到了同样的问题。
关于 docker 安装的一些信息:
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e …Run Code Online (Sandbox Code Playgroud)