[Freeswitch-users] FS 1.8 Docker image

Filipe Cunha filipe at redseven.tech
Wed Dec 12 10:41:57 UTC 2018


Hi all,

I'm trying to create a docker image with the latest version of FreeSWITCH.
But I'm not able to do it. These are the steps that I did to try to do it.

1. Download debian stretch image
*docker pull debian:stretch *
2. Build FreeSWITCH from source code following the guide
<https://freeswitch.org/confluence/display/FREESWITCH/Debian+9+Stretch> in
confluence step by step. I follow the production version
3. The step 2 went very well, and then I follow the post-installation
instructions
<https://freeswitch.org/confluence/display/FREESWITCH/Debian+Post-Install+Tasks>
and this was when it stop working. I set up owners and permissions and when
I try to do the systemd  I was not able to do it. I copied the file *cp
/usr/src/freeswitch/debian/freeswitch-systemd.freeswitch.service
/etc/systemd/system/freeswitch.service *the content of the file was not
exactly the same as the one in the tutorial, so I copied the content of the
file on the tutorial and replace it. And when I tried to do *systemctl
deamon-reload* I got this error message, *Failed to connect to bus: No such
file or directory*. After trying to find a solution online I found this
answer on SO
<https://stackoverflow.com/questions/39169403/systemd-and-systemctl-within-ubuntu-docker-images>

Do you guys know if there is a solution for this problem?
We plan to use the latest version of FreeSwitch in our production
environment, but we have a normal linux server to do it, and the devops
team got everything working fine, we only have this problem when we try to
use docker.
I'm trying to use docker so my team could test everything locally before
pushing something to the test environment, so far we have been deploying
our code to test environment to test our code  😖
I found this image <https://github.com/BetterVoice/freeswitch-container>
that works fine in our local environment, but the version is 1.6.16.
Is there any braking change between 1.8.2 and 1.6.16? My concern it that we
start developing against an older version, and when we deploy to production
it doesn't work, or maybe the latest version have a super useful command
that we are not taking advantage of.
We control FreeSWITCH  mainly by events, we use java to do it.

Thanks for the help,
Filipe Cunha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181212/3dbe7cec/attachment-0001.html>


More information about the FreeSWITCH-users mailing list