Operation not permitted
创建容器的命令为:
docker run --privileged -id --name centos centos:centos7.2.1511 bash
问题:Failed to get D-Bus connection: Operation not permitted
解决该问题办法:
创建容器的命令为:
docker run --privileged -id --name centos centos:centos7.2.1511 /usr/sbin/init
在容器中执行命令:
yum install openssh-server