asterisk / asterisk-feature-requests

A place to submit feature and improvement requests for the Asterisk project. Contains no code.
2 stars 1 forks source link

[new-feature]: Docker Image for Asterisk #12

Open urpylka opened 1 year ago

urpylka commented 1 year ago

Feature Description

Hi, I know a few docker images for Asterisk it is simply looking for by the query on dockerhub. But there is no an official image. Will it be maintained officially by core team of Asterisk.

Now there is no actual version of software in the current images and more value there is no common practices to work with, there is also no main approach to set of software and methods to install dependencies.

And I didn't say a word about how to complicated to deploy Asterisk and about main benefits of Dockerize (containerize) applications.

Maybe I missed, and it exists. But if no, maybe there will be a good decision to move a type of delivery your application into containerized. What do you think?

Thanks

jcolp commented 1 year ago

There is no official image. There was an attempt, but noone could agree on what such a thing would look like, how it would work, how it would be configured. Moving into a container also increases the complexity from a networking perspective, and is something that I've seen most people encounter when deploying using it without understanding SIP.

jcolp commented 1 year ago

I have also moved this to the feature requests repository.

urpylka commented 1 year ago

For start: Let's list (in a free form) all bugs/issues/questions with the migration to the Docker image (if there is link to previous attempts) lets mention it here. Suppose it can help, not only for us, but and for other people how will attempt to do something by ourself.

I mean the problem with SIP that you mentioned. Maybe for some cases a container trully doesn't fit. But it is good when we "planar" understand reason for it.

jcolp commented 1 year ago

I don't have any links to previous attempts. Others may be able to chime in with their experiences.

zombiedk commented 1 year ago

Hi I woulden mind giving it a try, as I already have several Dockerfile's for building asterisk

General idear:

vk496 commented 1 week ago

+1 for this.

Having trigger/init scripts during the container start would allow people to extend with the features they need without arguing which is the correct way of doing it.

My idea of perfect asterisk image:

If someone from core team want to support this idea, please let me know. I can create a PR