Dockerfile to build a OpenSIPS container image. The container provides rapid deployment of VoIP services
First, clone this project to the local:
$ git clone https://github.com/imac-cloud/docker-opensips.git
Then, into the directory and execute the following command:
$ cd docker-opensips
$ docker build -t imac-cloud/opensips:2.2.0 .
Automated builds of the image are available on DockerHub and is the recommended method of installation.
$ docker pull imaccloud/docker-opensips:2.2.0
Now, you can manually launch the OpenSIPS container, the following command:
$ docker run --name opensips -d -p 5060:5060/udp \
-e ADVERTISED_IP="<ADVERTISED_IP>" \
imac-cloud/opensips:1.0.0
Please provides a
ADVERTISED_IP
.