From 8b3aea6bcdce1ea013188dd14669f7b33d6d9ec9 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 19 Feb 2023 14:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea8fd7f..6a765da 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,20 @@ 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 ```