Centos7 启动ssh服务的时候
不管是service start还是 systemctl都报错
Failed to get D-Bus connection: Operation not permitted
好吧,我找找博客
博客上说都得用docker
docker命令不存在,就下载,
要改容器路径然后调用特权
docker run -d -e "container=docker" --privileged=true [ID] /usr/sbin/init
???报错
/usr/bin/docker-current: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
好像是要改docker镜像路径,然后重启服务
重启服务???
Failed to get D-Bus connection: Operation not permitted
这不是回到原点了吗???
WTF???
求教咋治