Hello guys Yes i packaged kamailio to docker container https://hub.docker.com/r/safarov/kamailio3/. This container is ready to run kamailio in docker environment. Could you make review of this.
Dockerfiles you can review at https://github.com/kamailio/kamailio/tree/master/pkg/kamailio/alpine_docker Build process logs you can review at https://hub.docker.com/r/safarov/kamailio3/builds/bl9rv6ygeubwnydh4an2tuc/
Sergey
That's great. I was thinking of experimenting a few things with Kamailio in docker but couldn't find any suitable image to start with. Thank you for setting it up. I will definitely try it.
Keep up the good work.
-- M. S.
On Mon, Sep 25, 2017 at 7:35 PM, Sergey Safarov s.safarov@gmail.com wrote:
Hello guys Yes i packaged kamailio to docker container https://hub.docker.com/r/safarov/kamailio3/. This container is ready to run kamailio in docker environment. Could you make review of this.
Dockerfiles you can review at https://github.com/kamailio/ kamailio/tree/master/pkg/kamailio/alpine_docker Build process logs you can review at https://hub.docker.com/r/ safarov/kamailio3/builds/bl9rv6ygeubwnydh4an2tuc/
Sergey
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
wow, this is great, can't wait to try it out! one question though, the Dockerfile is using `scratch` but the folder structure indicates `alpine` (pkg/kamailio/alpine_docker) should this file path be renamed?
On Mon, Sep 25, 2017 at 4:48 PM, M S shaheryarkh@gmail.com wrote:
That's great. I was thinking of experimenting a few things with Kamailio in docker but couldn't find any suitable image to start with. Thank you for setting it up. I will definitely try it.
Keep up the good work.
-- M. S.
On Mon, Sep 25, 2017 at 7:35 PM, Sergey Safarov s.safarov@gmail.com wrote:
Hello guys Yes i packaged kamailio to docker container https://hub.docker.com/r/safarov/kamailio3/. This container is ready to run kamailio in docker environment. Could you make review of this.
Dockerfiles you can review at https://github.com/kamailio/ka mailio/tree/master/pkg/kamailio/alpine_docker Build process logs you can review at https://hub.docker.com/r/safar ov/kamailio3/builds/bl9rv6ygeubwnydh4an2tuc/
Sergey
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
вт, 26 сент. 2017 г. в 0:08, E. Schmidbauer eschmidbauer@gmail.com:
wow, this is great, can't wait to try it out! one question though, the Dockerfile is using `scratch` but the folder structure indicates `alpine` (pkg/kamailio/alpine_docker) should this file path be renamed?
Image compilation is splited on two phases pre_build - really getting sources and compiling using alpine image. Please look https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/alpine_docker/... and docker docs https://docs.docker.com/docker-cloud/builds/advanced/. At this stage created tar archive with filesystem image
And second stage where filesystem images is placed on scratch layer. This allow separate build state where installed many development tools and image creation where simple decompressed image filesystem.
Image really build using alpine linux dist. scratch layer used to create minimal image with only required libs.
This image image also contains tcpdump and dumppcap tools. So you can easy debug SIP traffic if you prefer to used docker bridge or swarm network.
Sergey