Docker问题——安装过程中问题Errors were encountered while processing: docker-ce
解决方法docker-ce安装时出现错误:dpkg: error processing package docker-ce (--configure):subprocess installed post-installation script returned error exit status 1Processing triggers for libc-bin (2.23-0ubunt...
·
解决方法
docker-ce安装时出现错误:
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
输入以下命令:
user_1@test:~$ cd /var/lib/dpkg
user_1@test:/var/lib/dpkg$ sudo mv info info.bak
user_1@test:/var/lib/dpkg$ sudo mkdir info
user_1@test:/var/lib/dpkg$ sudo apt-get install docker-ce docker-ce-cli containerd.io
再次试验,安装成功
user_1@test:/var/lib/dpkg$ docker -v
Docker version 19.03.5, build 633a0ea838
更多推荐
已为社区贡献1条内容
所有评论(0)