🌙 1.Cannot connect to the Docker daemon ...
$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
1
2
2
执行命令,发现任然不OK:
$ systemctl start docker
System has not been booted with systemd as init system (PID 1). Can't operate.
1
2
2
手动启动:
$ systemctl start docker
System has not been booted with systemd as init system (PID 1). Can't operate.
1
2
2
继续try
# 成功!
$ sudo dockerd
INFO[2022-08-23T15:49:48.291644300+08:00] Starting up
1
2
3
2
3