Skip to content

18.0.0.1880 container constantly restarts #9

@MrMontesa

Description

@MrMontesa

Hey there & thanks for providing this image.
I'm trying to setup 3CX in my docker setup using the latest tag, but the container constantly restarts. Using the older container works. Here are some details about my setup.
Host OS:

root@docker:~# uname -a
Linux docker 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
root@docker:~# cat /etc/debian_version
11.0
root@docker:~# docker --version
Docker version 20.10.8, build 3967b7d

setup 3CX container like this:

root@docker:~# docker run -d \
    --name=3CX \
    --restart=unless-stopped \
    -v 3cx_backup:/mnt/backup \
    -v 3cx_recordings:/mnt/recordings \
    -v 3cx_log:/var/log \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
    --security-opt apparmor=unconfined \
    --cap-add SYS_ADMIN \
    --cap-add NET_ADMIN \
     --network DockerLab \
     --ip 192.168.25.23 \
     --hostname phone \
     farfui/3cx:18.0.0.1880

After a few minutes, docker still gives me:

root@docker:~# docker exec -ti 3CX /bin/bash
Error response from daemon: Container 07aa350285ab4a0c94a6adb002ec51861031ea3a17dde8567b83bce4d4205cd8 is restarting, wait until the container is running

checking restartCount increased to 25 in the meantime, which means the container is constantly restarting. It never reaches a state where network is activated and the IP is given.

Do you have an idea how to troubleshoot?
Thanks much!

PS: I'm also testing the older release (16.0.6.655) which starts but errors out with the "Failed to connect to bus: No such file or directory" message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions