更新 'README.md'

This commit is contained in:
zhongjin 2023-02-19 14:03:19 +08:00
parent 009f0dd10b
commit 8b3aea6bcd

View File

@ -3,7 +3,20 @@
How to use Docker to setup a development environment for BigBlueButton How to use Docker to setup a development environment for BigBlueButton
``` ```
docker run -d --name=$NAME --hostname=$HOSTNAME $NETWORKPARAMS -env="container=docker" --env="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" --env="DEBIAN_FRONTEND=noninteractive" -v "/var/run/docker.sock:/docker.sock:rw" --cap-add="NET_ADMIN" --privileged -v "$HOME/$NAME/certs/:/local/certs:rw" --cgroupns=host -v "$BBB_SRC_FOLDER:/home/bigbluebutton/src:rw" -v "/tmp:/tmp:rw" -v "$HOME/.m2/repository/org/bigbluebutton:/home/bigbluebutton/.m2/repository/org/bigbluebutton:rw" -v "$HOME/.ivy2/local/org.bigbluebutton:/home/bigbluebutton/.ivy2/local/org.bigbluebutton:rw" -t $IMAGE docker run -d --name=$NAME --hostname=$HOSTNAME $NETWORKPARAMS \
-env="container=docker" \
--env="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
--env="DEBIAN_FRONTEND=noninteractive" \
-v "/var/run/docker.sock:/docker.sock:rw" \
--cap-add="NET_ADMIN" \
--privileged \
-v "$HOME/$NAME/certs/:/local/certs:rw" \
--cgroupns=host \
-v "$BBB_SRC_FOLDER:/home/bigbluebutton/src:rw" \
-v "/tmp:/tmp:rw" \
-v "$HOME/.m2/repository/org/bigbluebutton:/home/bigbluebutton/.m2/repository/org/bigbluebutton:rw" \
-v "$HOME/.ivy2/local/org.bigbluebutton:/home/bigbluebutton/.ivy2/local/org.bigbluebutton:rw" \
-t $IMAGE
``` ```