contrib/testpbx: fix docker run --rm linter error

Fixes: SYS#5583
Change-Id: Ie3a9caa6d1e682e0080b3acc4a68d5ad3895629f
This commit is contained in:
Oliver Smith 2022-06-20 12:26:22 +02:00
parent 2267178db3
commit c0af8f90f9
2 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@ container:
docker build -t osmo-freeswitch-pbx:latest .
run:
docker run -it --name=osmo-freeswitch-pbx \
docker run --rm -it --name=osmo-freeswitch-pbx \
-p 5060:5060/udp -p 6000-6020:6000-6020/udp \
--rm=true osmo-freeswitch-pbx:latest
osmo-freeswitch-pbx:latest
stop:
docker rm -f osmo-freeswitch-pbx

View File

@ -24,6 +24,6 @@ Build:
Run:
docker run yourimagename:tag
docker run --rm yourimagename:tag
SIP is exposed on 5060 of your port and audio on 6000-6020