即使在sudo apt remove docker; sudo apt install docker
之后,我也遇到以下错误:
$ sudo service docker restart
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
$ systemctl status docker.service
● docker.service - LSB: Create lightweight, portable, self-sufficient containers.
Loaded: loaded (/etc/init.d/docker; generated)
Active: failed (Result: exit-code) since Thu 2019-12-26 11:37:52 PST; 8s ago
Docs: man:systemd-sysv-generator(8)
Process: 28702 ExecStart=/etc/init.d/docker start (code=exited, status=1/FAILURE)
Main PID: 3450 (code=exited, status=0/SUCCESS)
命令jouralctl -xe
未显示新条目,而sudo systemctl list-unit-files
显示docker.service
为generated
。我看了一堆关于SO的相关问题,但它们似乎是不同的问题。最接近的是Trying a quick cluster deployment with Docker:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?,但该问题已通过重新安装得以解决。
我的问题可能是什么,或者接下来的诊断步骤应该是什么?
答案 0 :(得分:1)
您确定要使用SELECT tx_ril, regexp_substr(tx_ril,'[^|]+',1,level) regexp_substr
FROM tsi910_ril where rownum = 1
CONNECT BY level<=regexp_count(tx_ril,'|')+1;
软件包吗?
docker
实际的$ apt-cache search docker | grep ^'docker '
docker - System tray for KDE3/GNOME2 docklet applications
软件包名称取决于您要使用的Docker版本和源。一个好的开始将是来自Docker的最近的docker-ce:https://docs.docker.com/install/linux/docker-ce/ubuntu/
正确安装docker
后,可以使用docker
进行调试:https://docs.docker.com/config/daemon/