osmith submitted this change.
contrib/testpbx: fix docker run --rm linter error
Fixes: SYS#5583
Change-Id: Ie3a9caa6d1e682e0080b3acc4a68d5ad3895629f
---
M contrib/testpbx/Makefile
M contrib/testpbx/README
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/testpbx/Makefile b/contrib/testpbx/Makefile
index ea34799..f47223e 100644
--- a/contrib/testpbx/Makefile
+++ b/contrib/testpbx/Makefile
@@ -4,9 +4,9 @@
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
diff --git a/contrib/testpbx/README b/contrib/testpbx/README
index 11c16f0..19499b9 100644
--- a/contrib/testpbx/README
+++ b/contrib/testpbx/README
@@ -24,6 +24,6 @@
Run:
- docker run yourimagename:tag
+ docker run --rm yourimagename:tag
SIP is exposed on 5060 of your port and audio on 6000-6020
To view, visit change 28391. To unsubscribe, or for help writing mail filters, visit settings.