更新 'README.md'
This commit is contained in:
parent
009f0dd10b
commit
8b3aea6bcd
15
README.md
15
README.md
@ -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user