mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-06-25 22:41:49 +02:00
Added a restart.sh to quickly restart container for testing
This commit is contained in:
parent
d766700938
commit
8d6c88576e
19
restart.sh
Executable file
19
restart.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
ID=`docker ps --format "{{.ID}}" --filter ancestor=bigbluebutton/b2`
|
||||||
|
|
||||||
|
if [ "$ID" != "" ]; then
|
||||||
|
docker stop $ID
|
||||||
|
fi
|
||||||
|
docker build -t bigbluebutton/b2 .
|
||||||
|
|
||||||
|
docker run -p 80:80/tcp -p 443:443/tcp -p 1935:1935/tcp -p 5066:5066/tcp -p 3478:3478/udp -p 3478:3478 -v /home/firstuser/dev/bigbluebutton/bigbluebutton-html5:/root/bigbluebutton-html5 --cap-add=NET_ADMIN bigbluebutton/b2 -h 192.168.0.130 > /dev/null
|
||||||
|
|
||||||
|
cat << HERE
|
||||||
|
|
||||||
|
docker exec -it `docker ps --format "{{.ID}}" --filter ancestor=bigbluebutton/b2` supervisorctl status
|
||||||
|
docker exec -it `docker ps --format "{{.ID}}" --filter ancestor=bigbluebutton/b2` /bin/bash
|
||||||
|
|
||||||
|
HERE
|
||||||
|
|
||||||
|
ID=`docker ps --format "{{.ID}}" --filter ancestor=bigbluebutton/b2`
|
Loading…
x
Reference in New Issue
Block a user