[Freeswitch-users] FS 1.8 Docker image

Mitch Capper mitch.capper at gmail.com
Sun Dec 16 17:44:44 UTC 2018


I run FS in docker.   It is also handy for filing bug reports with exact
repo so I have some dockerfiles up for example:
https://freeswitch.org/jira/browse/FS-7833
full source build.


~mitch


On Fri, Dec 14, 2018 at 1:23 AM Alexey Sibyakin <alex at freeswitch.com> wrote:

> Hi,
>
> Try to install dbus into your Stretch.
>
> Regards,
>
> Alex
>
> On Thu, Dec 13, 2018 at 3:40 AM Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> you can use safarov/freeswitch:1.8.2
>> <https://hub.docker.com/r/safarov/freeswitch/> image
>> repo of this is located here
>> https://bitbucket.org/sergey-safarov/freeswitch/commits/branch/v1.8
>>
>>
>> ср, 12 дек. 2018 г. в 18:14, Filipe Cunha <filipe at redseven.tech>:
>>
>>> 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
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at 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 at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> https://freeswitch.com
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
>
>
> --
> Alex Sibyakin | Support Engineer
> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
> Email: alex at freeswitch.com
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
> Need commercial support? Contact sales at freeswitch.com for details.
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181216/dee33d80/attachment-0001.html>


More information about the FreeSWITCH-users mailing list