fam4r / docker-3cx

Dockerfile (and compose) for 3CX https://www.3cx.com
7 stars 4 forks source link

Failed to connect to bus #1

Open mikelmao opened 4 years ago

mikelmao commented 4 years ago

Hello,

I am new to docker but found your 3cx docker container. I have the container running as instructed but when trying to run the 3CXWizard, I get the error:

Failed to connect to bus: no such file or directory

Any idea why this could be or how to debug this? Iv been stuck on this for the past 3 days :(

mikelmao commented 4 years ago

It seems that running the docker with --privileged though this is less then ideal, is there a way around this?

luisalrp commented 4 years ago

I am running into the same issue. @mikelmao did you find a solution?

mr-suw commented 3 years ago

Hi, still same issue with tag 16.0.8.9. I tried the following options: a) with priveleged switch on --> Failed to create bus connection: No such file or directory b) without priveleged and added cap for SYS_ADMIN and NET_ADMIN and --security-opt apparmor=unconfined --> Failed to create bus connection: No such file or directory c) read only mapping of /run/dbus/system_bus_socket and /sys/fs/cgroup --> Failed to create bus connection: No such file or directory

What else could fix it?