How can I access https://bbb26.test with bigluebutton/docker-dev? (Windows, WSL2 with Ubuntu 20.04)

139 views
Skip to first unread message

Stefan Schütt

unread,
May 30, 2023, 1:54:56 AM5/30/23
to BigBlueButton-dev
Hi everyone, thank you for letting me join the group!

I have a beginners question regarding bigluebutton/docker-dev.

I am following the README.md, but I am stuck at "open https://bbb26.test [...] in your browser and enjoy." because this doesn't work (which somehow ist not surprising for me, because how should my browser resolve the name and access the container?).
I guess I am missing some part of the conception or the README.md is missing some information, I would need.

I've got the container bbb26 up and running on Ubuntu 20.04 which runs on Windows 10 with WSL2.

When I call `bbb-conf ---status` from the CLI inside the container, all services are active.

I can successfully call `curl https://bbb26.test` from within the container.
I cannot access it from the Ubuntu CLI (connection timeout) and I cannot access it in my browser on windows.

Actually I don't see any port forwarding which would allow to access the website from outside the container.
Am I missing something in the conception of the development environment? How should I modify my setup to access https://bbb26.test from the windows browser?

Thank you very much for your help!

Jean Pluzo

unread,
May 31, 2023, 3:02:12 AM5/31/23
to BigBlueButton-dev
Hi Stefan,

so, you're running bbb as a container... inside Ubuntu 20.04... which is running inside WSL2 on a Windows 10 machine!
IMHO that's a lot of virtualization, and I think bbb doesn't like this.
But, if you really need to run bbb this way, perhaps you could make a network map for yourself to find out what ports are being mapped.
WSL2 doesn't play nice with some Ubuntu features. I tried installing ubuntu on WSL2 last year and it didn't have everything I needed (ubuntu).
Check the result of 'docker container ls -a' to see which ports are open, as well as 'ss -ntlp' in ubuntu to see which ports are being seen by ubuntu. After that you need to forward said ports to WSL2 to allow the windows environment access to your WSL2 Ubuntu.

Regards,
J.

Stefan Schütt

unread,
May 31, 2023, 7:30:48 AM5/31/23
to BigBlueButton-dev
Thank you Jean for your hints.
Actually `docker container ls -a` says that no ports at all are open for this bbb container.

Regards,
Stefan

Stefan Schütt

unread,
Jun 6, 2023, 2:34:46 AM6/6/23
to BigBlueButton-dev
I have now added a port forwarding in create_bbb.sh in the docker run command:

docker run -d -p 80:8080 -p 8443:443... and I have added bbb26.test 127.17.0.2 to my windows hosts file.
Now I can access https://bbb26.test in my windows browser.

I just don't get, how it is meant to work originally without any port forwarding.

Jean Pluzo

unread,
Jun 7, 2023, 3:07:15 AM6/7/23
to BigBlueButton-dev
The thing is, bbb is not designed for the setup you're using.
Like I said before, there's too much virtualization, too many layers. bbb needs a server (bare metal) for itself.
It might be running ok in your setup, but it wasn't thought out for such a virtualization environment.
Glad to see it's working though.

Regards,
J.
Reply all
Reply to author
Forward
0 new messages