Failed to get D-Bus connection: Operation not permitted
From Do you speak Drupalish? Featured Drupal wiki-like documentation
- Failed to get D-Bus connection: No connection to service manager - CentOS 7 https://github.com/docker/docker/issues/7459
- https://bbs.archlinux.org/viewtopic.php?id=194102
docker run --privileged -ti -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup trinitronx/ansible-base:stable-centos7 /usr/sbin/init For some undocumented reason the variable container=docker is apparently required. /sys/fs/cgroup is also required, as SystemD needs cgroups to work properly according to RedHat Bug 1033604.
- May 2016 still working on https://github.com/docker/docker/issues/22285
- --cap-add=SYS_ADMIN --security-opt=seccomp:unconfined seems to have solved it for me! Cheers!
* systemctl status nginx Failed to get D-Bus connection: Operation not permitted
- Even if https://github.com/million12/docker-nginx works