[Freeswitch-users] Trying to install Docker Container FS
Danny Dias
ing.diasdanny at gmail.com
Fri Aug 2 22:14:03 UTC 2019
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 at 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 at gnu.org <bug-coreutils at 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 at 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 at srv-lx-containers-fs-01:~$ docker exec -it freeswitch /bin/bash
root at d70484c9f2cb:/usr/src/freeswitch#
FS appears to be running:
root at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190802/39c37ab8/attachment.html>
More information about the FreeSWITCH-users
mailing list