Docker asterisk simulating PSTN based on andrius/asterisk Alpine Linux images
docker run --rm -ti --name pstn --hostname pstn elbriga/pstn
It is possible to specifty other than asterisk user to start through environment variable ASTERISK_USER
:
docker run -ti --rm -e ASTERISK_USER=root andrius/asterisk
docker exec -ti pstn /bin/sh