Trying to install Docker Container FS
Hi Community! Having some weird issues following this guide to install my FS Containers: https://hub.docker.com/r/bettervoice/freeswitch-container/ I ran the following command to download and run the image: dadiaspe@srv-lx-containers-fs-01:~$ CID=$(sudo docker run --name freeswitch -p 5060:5060/tcp -p 5060:5060/udp -p 5080:5080/tcp -p 5080:5080/udp -p 8021:8021/tcp -p 7443:7443/tcp -p 60535-65535:60535-65535/udp -v /home/debian/freeswitch/conf:/usr/local/freeswitch/conf bettervoice/freeswitch-container:1.6.6) It did several Pulls and Downloads, and returned the following message at the end: Digest: sha256:e0db31cd71a7c8ef63be9b20c438bc94f29b73dc147b294a9e1d2b6ce17b2a01 Status: Downloaded newer image for bettervoice/freeswitch-container:1.6.6 . . freeswitch is not configured so not starting. Please review /usr/local/doc/freeswitch/README.Debian *tail: unrecognized file system type 0x794c7630 for '/usr/local/freeswitch/log/freeswitch.log'. please report this to bug-coreutils@gnu.org <bug-coreutils@gnu.org>. reverting to polling* But the container seems to be running cause i can connect, and "docker ps -a" reports the container UP: dadiaspe@srv-lx-containers-fs-01:~$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d70484c9f2cb bettervoice/freeswitch-container:1.6.6 "/bin/sh -c 'service…" About an hour ago Up 56 minutes 0.0.0.0:5060->5060/tcp, 0.0.0.0:5060->5060/udp, 0.0.0.0:5080->5080/tcp, 0.0.0.0:7443->7443/tcp, 0.0.0.0:5080->5080/udp, 0.0.0.0:8021->8021/tcp, 0.0.0.0:60535-65535->60535-65535/udp, 5066/tcp freeswitch dadiaspe@srv-lx-containers-fs-01:~$ docker exec -it freeswitch /bin/bash root@d70484c9f2cb:/usr/src/freeswitch# FS appears to be running: root@d70484c9f2cb:/usr/src/freeswitch# ps -aux | grep free root 1 0.0 0.0 4444 620 ? Ss 21:07 0:00 /bin/sh -c service snmpd start && service freeswitch start && tail -f /usr/local/freeswitch/log/freeswitch.log root 21 0.0 0.0 4380 800 ? S 21:07 0:00 tail -f /usr/local/freeswitch/log/freeswitch.log root 71 0.0 0.0 8864 884 pts/0 S+ 22:07 0:00 grep --color=auto free But can't connect to fs_cli: root@d70484c9f2cb:/usr/src/freeswitch# /usr/local/freeswitch/bin/fs_cli *[ERROR] fs_cli.c:1659 main() Error Connecting [Socket Connection Error]* Am i doing something wrong with the container? I'm planning to run around 4 FS containers in this Host...any ideas/recommendations highly appreciated! Thank u
you can try "docker run -t safarov/freeswitch:1.8.5" Supported environment vars you can find https://cloud.docker.com/u/safarov/repository/docker/safarov/freeswitch On Sat, Aug 3, 2019 at 6:40 PM Danny Dias <ing.diasdanny@gmail.com> wrote:
Hi Community!
Having some weird issues following this guide to install my FS Containers:
https://hub.docker.com/r/bettervoice/freeswitch-container/
I ran the following command to download and run the image:
dadiaspe@srv-lx-containers-fs-01:~$ CID=$(sudo docker run --name freeswitch -p 5060:5060/tcp -p 5060:5060/udp -p 5080:5080/tcp -p 5080:5080/udp -p 8021:8021/tcp -p 7443:7443/tcp -p 60535-65535:60535-65535/udp -v /home/debian/freeswitch/conf:/usr/local/freeswitch/conf bettervoice/freeswitch-container:1.6.6)
It did several Pulls and Downloads, and returned the following message at the end:
Digest: sha256:e0db31cd71a7c8ef63be9b20c438bc94f29b73dc147b294a9e1d2b6ce17b2a01 Status: Downloaded newer image for bettervoice/freeswitch-container:1.6.6 . . freeswitch is not configured so not starting. Please review /usr/local/doc/freeswitch/README.Debian *tail: unrecognized file system type 0x794c7630 for '/usr/local/freeswitch/log/freeswitch.log'. please report this to bug-coreutils@gnu.org <bug-coreutils@gnu.org>. reverting to polling*
But the container seems to be running cause i can connect, and "docker ps -a" reports the container UP:
dadiaspe@srv-lx-containers-fs-01:~$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES d70484c9f2cb bettervoice/freeswitch-container:1.6.6 "/bin/sh -c 'service…" About an hour ago Up 56 minutes 0.0.0.0:5060->5060/tcp, 0.0.0.0:5060->5060/udp, 0.0.0.0:5080->5080/tcp, 0.0.0.0:7443->7443/tcp, 0.0.0.0:5080->5080/udp, 0.0.0.0:8021->8021/tcp, 0.0.0.0:60535-65535->60535-65535/udp, 5066/tcp freeswitch
dadiaspe@srv-lx-containers-fs-01:~$ docker exec -it freeswitch /bin/bash root@d70484c9f2cb:/usr/src/freeswitch#
FS appears to be running:
root@d70484c9f2cb:/usr/src/freeswitch# ps -aux | grep free root 1 0.0 0.0 4444 620 ? Ss 21:07 0:00 /bin/sh -c service snmpd start && service freeswitch start && tail -f /usr/local/freeswitch/log/freeswitch.log root 21 0.0 0.0 4380 800 ? S 21:07 0:00 tail -f /usr/local/freeswitch/log/freeswitch.log root 71 0.0 0.0 8864 884 pts/0 S+ 22:07 0:00 grep --color=auto free
But can't connect to fs_cli: root@d70484c9f2cb:/usr/src/freeswitch# /usr/local/freeswitch/bin/fs_cli *[ERROR] fs_cli.c:1659 main() Error Connecting [Socket Connection Error]*
Am i doing something wrong with the container? I'm planning to run around 4 FS containers in this Host...any ideas/recommendations highly appreciated!
Thank u
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Danny Dias
-
Sergey Safarov