在Centos7的docker里装好了httpd,运行报错:
systemctl start httpd.service
Failed to get D-Bus connection: Operation not permitted
真无语啊,必须提权才可以:
docker run --privileged -d -p 10080:80 centos /sbin/init
记下来,备查。
在Centos7的docker里装好了httpd,运行报错:systemctl start httpd.serviceFailed to get D-Bus connection: Operation not permitted真无语啊,必须提权才可以:docker run --privileged -d -p 10080:80 centos /sbin/init
在Centos7的docker里装好了httpd,运行报错:
systemctl start httpd.service
Failed to get D-Bus connection: Operation not permitted
真无语啊,必须提权才可以:
docker run --privileged -d -p 10080:80 centos /sbin/init
记下来,备查。
更多推荐
所有评论(0)