在安装了一些教程之后,如本教程所示:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04
我尝试启动码头服务,它说它正在尝试启动( systemctl的功能在我获得System has not been booted with systemd as init system后就无法运行):
$ sudo service docker start
* Starting Docker: docker 但它永远不会像运行时所显示的那样启动。
$ sudo service docker status
* Docker is not running发布于 2022-10-24 20:08:05
正如马可在这里所说:
https://crapts.org/2022/05/15/install-docker-in-wsl2-with-ubuntu-22-04-lts/
解决这一问题的步骤是:
sudo update-alternatives --config iptablessudo service docker starthttps://askubuntu.com/questions/1437128
复制相似问题