This container depends on docker-ce.
1 - Make sure you don't have docker installed:
sudo apt-get remove docker docker-engine docker.io
2 - Install docker-ce:
sudo apt-get update;
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common;
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo addgroup `whoami` docker
mkdir -p ~/bbb/src/
cd ~/bbb/
git clone https://github.com/bigbluebutton/docker.git
cd docker
git checkout v2.3.x
cd ~/bbb/src/
git clone https://github.com/bigbluebutton/bigbluebutton.git
Generate a certificate to your container (using letsencrypt or other solution) and then copy your certificate to certs/ folder with the commands:
mkdir certs/
cp fullchain.pem certs/
cp privkey.pem certs/
In order to create the container you must specify the hostname of container and the domain name.
In this example your container will be acessible from https://bbb001.bbbvm.imdt.com.br :
docker-compose build bbb
NAME=bbb001 DOMAIN=bbbvm.imdt.com.br sh -c 'docker-compose run --name $NAME bbb'
In order to access the container, you need to get the IP address of container by running the following command:
docker exec -it bbb001 ifconfig eth0
After that, add a line in your /etc/hosts
file with the full domain name specified at previous step.
In this example, the line added on hosts file is:
172.20.0.2 bbb001.bbbvm.imdt.com.br
http://bbb001.bbbvm.imdt.com.br
docker start bbb001
docker attach bbb001
docker stop bbb001
docker kill bbb001
Docker for Mac OS doesn't allow direct access to container IP's.
In order to access the BBB container from your MAC os host, you can use openvpn:
- Build containers:
docker-compose build mac_proxy mac_openvpn
- Start containers
docker-compose up mac_proxy mac_openvpn
After it finishes ( until it shows "Initialization Sequence Completed" ), hit CTRL+C.
-
Add
comp-lzo no
at bottom ofmac-vpn/docker-for-mac.ovpn
-
Install openvpn configuration generated on
mac-vpn/docker-for-mac.ovpn
(double click and open on Tunnelblick) -
Start containers again
docker-compose up mac_proxy mac_openvpn