Here are a few reference links that indicate it is possible but nothing about how well it works and if anyone still uses it after the initial neat factor wore off.
Asterisk docker container.
Which is as simple as running.
Container images become containers at runtime and in the case of docker containers images become containers when they run on docker engine.
Creating asterisk on docker.
Overview what is a container.
It is recommended that you keep the container light and use smallest size for the base image.
Even better than that jenkins has built in facilities to help us with container management.
Docker is extremely fast and in a matter of seconds the container is running.
This post is a simple recipe for how to create an asterisk docker.
This is a perfect use case for running the tests in containers specifically docker on the same host.
Given our coreos and docker based infrastructure and the fact that there is no official asterisk docker image i needed to make my own docker image to support all of the advanced features i wanted including.
Sudo docker exec it asterisk alpine sh the container is named asterisk alpine in this example and sh is the command to execute.
There are some hurdles though.
Update docker file freepbx 12 0 3 and asterisk 13 1 install works.
Recently i decided to setup a much more feature filled phone system and in the open source telephony pbx landscape there is only one serious option.
A docker container image is a lightweight standalone executable package of software that includes everything needed to run an application.
You can pull the image from dockerhub.
There are no results for this search in docker hub.
Even better is that we can build asterisk only once and have the tests run in parallel against those build products.
Is anyone running freepbx as a docker container.
Alpine linux and asterisk next set up asterisk.
There is also a significant potential in deploying asterisk for customers for instance companies willing to provide small pbxs containers to their clients will find docker especially interesting.
Creating the base image base image for container from debian buster slim we have chosen debian buster slim for the base image as shown above.
You can use either of aws ec2 or cloud9 ide for setting up docker.
Create a terminal session to the running docker container.