Running BigBlueButton in containers and virtual machines

BigBlueButton 4.0 is documented for a clean Ubuntu 24.04 server, and container or VM deployments need extra checks: Docker for sandboxed document conversion, FreeSWITCH scheduling fixes, and entropy on virtual hosts. This page explains what to verify before you virtualize.

On this page

Can BigBlueButton in containers and virtual machines run in production?

The documented path is a clean Ubuntu 24.04 64-bit server, so a virtual machine or container is supported only as a guest that meets that baseline. Start with the question your platform team will ask first: can the hypervisor or container host give the guest a standard Ubuntu 24.04 image with the resources BigBlueButton needs? Teams usually virtualize because the organization already has hypervisor standards, backup tooling and data center policy for approved workloads, and those controls often decide where the server runs. BigBlueButton 4.0 does not support direct upgrades from 2.6, 2.7 or 3.0, so plan any move as a fresh install on the new guest, with existing recordings and data migrated as a separate step.

Virtualization does not lower the sizing. The guest must still have at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth, according to the BigBlueButton install documentation. Ask the platform team to confirm that CPU overcommit and shared storage will not reduce what the guest receives, and request reserved or dedicated CPU for this workload. Check bandwidth along the whole path, from the virtual network through to the edge firewall, and confirm the disk is sized for your recording retention before the first class is scheduled.

Containers add three checks before go-live. First, Docker must be available to the BigBlueButton host, because the server uses it for sandboxed LibreOffice document conversion. Second, FreeSWITCH can fail inside some containers with a SETSCHEDULER error (exit status 214); the documented fix is to comment out the CPU scheduling directives in the freeswitch.service unit, so confirm that change is acceptable for your media quality targets before you apply it. Third, bbb-web can start slowly on virtualized servers, and the troubleshooting guide suggests installing haveged to address this, so measure startup time on the actual guest. Record each of these checks in the build runbook so the platform team can repeat them after every image rebuild.

Which virtualized setup fits which situation

This table compares four ways to host BigBlueButton 4.0 on virtualized infrastructure, from the documented bare Ubuntu 24.04 install to application containers. Read each row as a deviation: every option other than a bare VM changes what the install docs describe, so the team must own it and retest after each change. The main takeaway is that the bare VM is the path the docs cover, and the other options trade simplicity for extra checks.

SetupWhat the team gainsWhat it must verifyWhen it fits
Bare Ubuntu 24.04 VMMatches the documented clean install on Ubuntu 24.04 64-bit, so the install docs apply as written.Host sizing against the 4.0 minimums, and haveged if bbb-web starts slowly.Default choice when a dedicated VM can meet the sizing requirements.
Full VM with Docker addedKeeps the Ubuntu install and adds the Docker that sandboxed LibreOffice conversion requires.Docker running with conversion tested, and the addition recorded as a deviation to retest.Fits when a VM is mandated but the team can still install directly on Ubuntu 24.04.
LXD or other system containerRuns a fuller Ubuntu userspace with service management, close to a VM layout.FreeSWITCH SETSCHEDULER failure (exit status 214) may need real-time lines in freeswitch.service commented out.Fits when the platform team already operates system containers and accepts the service change.
Generic application containerFits existing image build, registry and orchestration tooling the team already runs.Conversion, FreeSWITCH scheduling and bbb-web startup each need separate tests before go-live.Fits only when the team has a tested image, a runbook and an owner for each deviation.
Any option off a bare VMThe install docs do not describe this stack, so the team owns its behavior.Every deviation documented, with a retest after each BigBlueButton upgrade.Plan the retest before choosing it, not after the first failed meeting.

Why the documented path is a bare Ubuntu host

The project documents a clean Ubuntu 24.04 64-bit installation because the installer, bbb-install.sh, configures many services on one host, including the web front end, the media services, certificate handling and the Docker runtime used for sandboxed LibreOffice document conversion. Any change you make by hand to those files or services sits outside the path the installer was built around, so it is the first place to look when an install or upgrade behaves differently. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so an existing server on an older release should be replaced with a fresh one. Make that the baseline for every design decision that follows, including any virtualization or container layer.

Adding a layer, such as a container image, a virtual machine template or a hypervisor snapshot scheme, costs a team three things. First, upgrade paths: the install docs describe the steps for a bare host, so the team must work out how each point release applies to its image or guest and test that before production. Second, troubleshooting: when a service fails, the troubleshooting guide assumes the standard layout, so each error must be translated between the docs and the layer. Third, vendor-support boundaries: a fault that lives in the layer may fall outside the help the project or BigBlueButton Inc., which offers commercial support, can give, so ask in writing where that line sits before you rely on it.

Confirm each of these points against the current install documentation and the release notes for each point release before you commit to a layer. Maintenance releases can change install or upgrade details, so a plan that held for one point release may need a retest for the next. Ask your platform team to answer three questions in writing: which operating system and kernel assumptions the docs make, which steps the layer changes or skips, and who owns a failure that appears only inside the layer. Those answers decide whether the layer saves effort or moves the risk to your team.

How to decide and verify a virtualized BigBlueButton host

This decision path starts when you choose a host type. A bare Ubuntu 24.04 host follows the documented install path. A virtual machine or container runs four checks in order: Docker must be present for sandboxed LibreOffice document conversion, FreeSWITCH must start without a SETSCHEDULER error (exit status 214 in containers), bbb-web must start in a reasonable time, and the host must meet the 4.0 minimums for CPU, RAM, disk and bandwidth. Any failed check leads to a fix and a retest of that check before the install is documented.

Decision path from host choice to a documented install or a retest.

Setup sequence for a virtualized BigBlueButton server

This sequence takes a clean Ubuntu 24.04 guest from a sizing check to a working BigBlueButton 4.0 server, with a check at each step so faults surface early. The operator should keep the output of each check, because the same evidence supports later troubleshooting and change review. Confirm each command against the install and troubleshooting docs for your release before you run it.

  1. Confirm host sizing against the 4.0 minimums

    The virtualization admin checks the planned guest allocation before any build starts. A 4.0 server needs at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, and 250 Mbit/s symmetrical bandwidth. Confirm that the hypervisor gives the guest these resources without overcommitting them, because contention on the host later shows up as audio and media trouble. Done when the allocation matches each minimum and the guest reports the expected cores and memory through lscpu and free -h.

  2. Provision a clean Ubuntu 24.04 guest

    The virtualization team creates a new guest from a fresh Ubuntu 24.04 64-bit image, with no other workloads and no earlier BigBlueButton packages. BigBlueButton 4.0 installs on this release, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so a clean server installation is the recommended path. Set a hostname with working forward and reverse DNS, because SSL requires a valid hostname. Done when lsb_release -a reports Ubuntu 24.04 and the system is fully updated.

  3. Confirm swap, disk and network reachability

    The sysadmin confirms that the guest has swap configured, as the 4.0 minimums require alongside 16 GB of RAM. The data disk needs 500 GB for recordings, or 50 GB if recording stays off, so check the volume that will hold recordings with swapon --show and df -h. Then confirm that TCP ports 80 and 443 and UDP ports 16384 to 32768 reach the guest through the hypervisor firewall and any perimeter firewall. Done when swap and free disk match the plan and an outside port test shows the expected ports open.

  4. Install Docker for the document converter

    The sysadmin installs Docker on the guest because BigBlueButton uses it to run LibreOffice document conversion in a sandbox. Install it from a source your organization approves, following the Docker steps in the install docs for your release. If the guest reaches the internet through a proxy, confirm that Docker can pull images through it. Done when docker run --rm hello-world prints its greeting and the Docker service reports active.

  5. Run the BigBlueButton 4.0 installer

    The sysadmin runs the bbb-install.sh script on the clean guest with the options your design needs, such as the hostname, certificate and any Greenlight or LTI add-on. Confirm every flag against the 4.0 install docs before running it, because options change between releases. The installer prints its final status when it finishes. Done when bbb-conf --check reports no errors and the core BigBlueButton services show active.

  6. Check FreeSWITCH and bbb-web startup logs

    The operator reads the startup logs for FreeSWITCH and bbb-web, the two services most often affected by virtualization. Use systemctl status freeswitch and journalctl -u freeswitch for FreeSWITCH, and check the bbb-web log that your release writes for a completed startup. Look for a SETSCHEDULER error with exit status 214 in FreeSWITCH, and for a bbb-web startup that stays slow. Done when both services report active and the logs show no startup errors. If either log shows these symptoms, continue to the next step.

  7. Apply fixes only if the logs require them

    This step is conditional. Edit freeswitch.service only when the logs show the SETSCHEDULER error with exit status 214, then comment out the real-time scheduling lines named in the BigBlueButton troubleshooting guide, reload systemd and restart the service. Install haveged only when bbb-web startup is slow on the virtualized server, the symptom that guide links to haveged. Done when the same logs that failed now show a clean startup. Confirm the exact file contents and commands against the docs for your release.

  8. Verify with a test meeting and upload

    The operator, or a tester with a second device on a separate network, joins a test meeting from a browser to prove the full path works. Confirm that microphone audio flows in both directions, that video and screen sharing start, and that a PDF uploads and displays as slides. If you installed a front end such as Greenlight, check that the test room opens from it. Done when audio works both ways, the uploaded document renders, and the server logs show no errors during the session.

Security and operational considerations for virtual hosts

Running BigBlueButton in a hypervisor, a container runtime or a snapshot-based backup routine moves trust to layers outside the meeting server itself. Each card below names one of those layers, the setting or artifact it touches, and the record, review or check the operator must keep. Work through them before the first production meeting and name an owner for each.

Record and review unit file changes

In containers, FreeSWITCH can fail with a SETSCHEDULER error (exit status 214). The documented fix is commenting out the real-time scheduling lines in freeswitch.service, which changes how the media process is scheduled on the host. That makes the edit a security-relevant setting change that belongs in your change log. Record each edit with its reason and the host it applies to, keep the unit file in version control, and review it again after every package upgrade. Compare the live unit with systemctl cat freeswitch on each server.

Troubleshooting guide

Patch and control Docker on the host

BigBlueButton uses Docker for sandboxed LibreOffice document conversion, so a container runtime runs on the same host as the meeting services. Docker adds its own package updates, daemon configuration and group membership to the server's maintenance list. Anyone who can reach the Docker socket can gain root-equivalent control of the host, so keep the docker group small. Include Docker in the same patch cycle as the operating system and BigBlueButton packages. Confirm which Docker version your distribution ships and who holds administrative access to the daemon.

Include the hypervisor in the trust boundary

The hypervisor, its management console and its API can read, copy, pause and stop every virtual meeting server it runs. Anyone with administrative access to that management plane can reach a server's disks and console without logging in to the server itself. Put hypervisor administrator accounts under the same access review as server accounts, and require multi-factor sign-in with logged management sessions. Ask your platform team which administrative roles exist and who holds each one.

Handle snapshots of live servers

A snapshot of a running meeting server captures its memory, its disk and whatever is in flight at that moment. That can include the shared API secret in configuration files, active session data and recordings still being processed. Restoring an old snapshot can also bring back a previous configuration or a secret you have since rotated. Set rules for who may create and restore snapshots, where they are stored and how long they are kept. Align snapshot retention with your recording retention policy so archived copies do not outlive the data they hold.

Check entropy and time on virtual hosts

Cryptographic operations draw randomness from the kernel entropy pool, and virtual machines and containers can have little of it available during boot. The troubleshooting guide suggests haveged for slow bbb-web startup on virtualized servers, which points to a shortage of entropy slowing the service. Clock drift can also cause certificate validation failures and log entries that are hard to correlate. Read /proc/sys/kernel/random/entropy_avail and confirm time synchronization on each virtual host before go-live, and document whether haveged or a hypervisor entropy source is in use.

Troubleshooting guide

Keep the API secret off web pages

Every BigBlueButton API call carries a checksum computed with a secret shared with the server, and the API documentation warns never to embed that secret in a web page. Anyone holding the secret can build valid API calls against your server. Front-end code, browser developer tools and client-side templates all expose anything they contain. Keep the secret in server-side configuration only, and compute checksums on your application server. Use SHA-256, the default algorithm, and confirm that every integration sends checksums with it.

BigBlueButton API docs

Questions teams ask before running BigBlueButton virtualized

Can our own team run BigBlueButton in containers or virtual machines?

Yes, if your team already operates Ubuntu servers, Docker and virtual networking, but virtualized work has more edges than a bare host install. Start with the server sizing in the install docs: at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth. Your team also needs to handle Docker for sandboxed LibreOffice document conversion, the FreeSWITCH scheduling error that appears in some container setups, and slow bbb-web startup on virtualized hosts. The documented path is a clean Ubuntu 24.04 host, so each extra layer is one more thing your team must test and support after every release. Decide whether your team has the capacity for that testing before you commit to building it yourselves.

Are containers supported for running BigBlueButton?

Check the current install docs and release notes for your exact version before you decide, because support statements depend on the release you run. The install docs describe BigBlueButton 4.0 on Ubuntu 24.04 64-bit, recommend a clean server installation, and list Docker as required for sandboxed LibreOffice document conversion. Read the release notes for the version you plan to run and compare what they say about virtualized hosts with your intended layout. Ask the project or your provider to confirm in writing which container or virtual machine layout your version supports, then test that layout on a non-production server. Your test results, not a general statement, should decide whether the layout goes live.

What drives the effort of virtualizing BigBlueButton?

Effort grows with the number of virtualization layouts you must support, and most of the work is building and then repeating tests. The main drivers are:

  • The number of hypervisor variants, since each host type needs its own sizing, networking and container checks.
  • Retesting after each point release, including maintenance releases on the 3.0 branch such as 3.0.39, released on October 2, 2026.
  • The size of the recording volume, which sets disk layout, growth planning and backup scope.
  • The TURN and network design, including NAT, firewall rules for TCP ports 80 and 443 and UDP ports 16384 to 32768, and how many users sit behind restrictive firewalls.

These drivers compound, so ask any provider to scope each host variant and the release cadence separately.

How much does outside help for virtualized BigBlueButton cost?

No price can be stated here, and a quote follows from the written scope, since DeployOpen does not publish a price list. The cost is labor for planning, building the virtualized layout, configuring TURN and networking, testing against each target host, documenting the result and handing it over. The first build and its test cycles are one-time costs. Recurring costs come from upgrades and retests when point releases arrive, which can be covered by a retainer for ongoing support, upgrades and continuous testing. Your own costs stay with you whoever does the work: hypervisor hardware or cloud capacity, bandwidth and recording storage. When requesting a quote, ask for each host variant in scope, the release cadence covered, the number of retests included and what is excluded.

How long does a virtualized BigBlueButton project take?

The facts available here do not give a duration, so ask for a written scope with a timeline before you plan around one. Duration depends on the number of host variants, whether the recording volume and TURN server are included, how many test windows you can offer, and how quickly your team reviews findings. Most engagements are fixed-scope, which means scope, deliverables and timelines are agreed in writing before work starts. Ask the provider to show its phases, the dependencies on your access such as hypervisor rights, DNS and certificates, and the test windows it needs. Compare the timeline with your release calendar so that a point release does not land in the middle of an untested build.

What do we need to give an outside team for this work?

Hand over access and inputs early, because waiting on them is a common cause of schedule slips. Plan to provide:

  • Hypervisor or cloud access with the rights to create, snapshot and network the BigBlueButton hosts.
  • A DNS name for each server, with the ability to create records, since SSL requires a valid hostname.
  • A certificate path, meaning how certificates are issued and renewed in your environment and who approves them.
  • A test window with real users, time on the target network and a named person who accepts results.

Also confirm where the recordings volume lives and who owns backups. Without these inputs, the schedule in the written scope cannot hold.

What breaks first when BigBlueButton runs on a virtual server?

Two failures show up often in virtualized setups: FreeSWITCH failing with a SETSCHEDULER error (exit status 214), and slow bbb-web startup on virtualized servers. The troubleshooting guide ties the FreeSWITCH error to real-time scheduling lines and describes commenting them out of freeswitch.service as the fix. Test that change on your version and record it in your configuration management so it is not lost when a host is rebuilt. For slow bbb-web startup, the guide suggests installing haveged. Check FreeSWITCH and bbb-web logs after reboots and after each point release, not only at first install. Confirm the current steps on the troubleshooting page before you change any service file.

Limits to confirm in your environment

Virtualized BigBlueButton behavior depends on your hypervisor, container settings and exact release, and the public guidance does not settle these for every host. The six items below are the ones to verify against the sources named on each card before you rely on a deployment.

Exact LXD container configuration

The troubleshooting guide documents a FreeSWITCH failure in containers, a SETSCHEDULER error with exit status 214, and the fix of commenting out scheduling lines in freeswitch.service. The settings that govern scheduling inside your LXD container depend on the LXD version and profile you run, so confirm the exact configuration the guide describes for your BigBlueButton release. Ask your platform team to show you the effective profile on the guest before you start the install.

Troubleshooting guide

Entropy fix on the hypervisor

The troubleshooting guide suggests haveged when bbb-web starts slowly on virtualized servers, and low entropy on the guest is the usual reason that fix is considered. Whether your hypervisor supplies enough entropy to the guest decides if you need it at all, so measure bbb-web startup on a fresh guest before adding anything. Record the result, then decide between installing haveged and fixing the entropy source on the hypervisor.

Docker version and storage driver

Docker runs the sandboxed LibreOffice conversion that BigBlueButton uses for uploaded documents, so the guest needs a working Docker engine before the install starts. Nested container setups can change which Docker version and storage driver the guest ends up with, so confirm both against the install requirements for your release. Record the output of docker version and docker info from the guest, then upload a test document and confirm it converts before you open the server to users.

Install requirements

freeswitch.service after upgrades

The SETSCHEDULER fix comments out lines in freeswitch.service by hand, so a package upgrade may overwrite the file and bring the exit status 214 failure back. Compare the unit file on the guest before and after each upgrade, and confirm whether the commented lines persist for your release. Check that FreeSWITCH starts cleanly after every change, and keep the edited unit file in version control so the fix can be reapplied.

Point release changes

A point release on the same major line can change the steps in the troubleshooting guide, the bundled packages or the service units. The project released 4.0.0 on October 14, 2026 and continues maintenance releases on the 3.0 branch, such as 3.0.39 on October 2, 2026, so the release you run determines which steps apply. Read the release notes for each point release you plan to deploy, and retest the container fixes after every update.

BigBlueButton releases

Live migration and snapshot effects

Live migration moves a running guest to another host, and snapshots pause or copy its state, so both can disturb the clock and scheduling that media depends on. Your hypervisor vendor's documentation is the place to check how these features affect guest clocks and scheduling, so ask the vendor directly. Then test a live call during a migration and a snapshot in a staging environment, and compare audio and video quality before and after.

How DeployOpen scopes and supports a virtualized BigBlueButton deployment

DeployOpen plans, implements and documents self-hosted BigBlueButton inside your own cloud accounts, data centers or air-gapped networks. For containers and virtual machines, the work starts by identifying which parts of the stack need a bare Ubuntu host and which need a container or VM workaround. Engagements are fixed-scope, with deliverables agreed in writing before work starts.

How we scope

  • Confirm the hypervisor or container platform, its version and host resources before any install step.
  • Record which pieces need Docker for sandboxed document conversion and which run directly on the host.
  • Agree a written scope covering hosts, networks, certificates, recording storage and acceptance checks.

How we build

  • Start from a clean Ubuntu 24.04 64-bit server, because direct upgrades from 2.6, 2.7 or 3.0 are not supported.
  • Apply container and VM fixes only where the troubleshooting guide calls for them, such as FreeSWITCH scheduling.
  • Check entropy, FreeSWITCH startup and a full test call on every host before handover.

How we hand over

  • Deliver the installed configuration, the firewall and port map, and the certificate and TURN settings used.
  • Document each container or VM workaround, its reason and the version it was tested against.
  • Provide a runbook covering restarts, host reboots, and the checks to repeat after any change.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the build is handed over.
  • Plan a retest after each change to the host platform, the container runtime or the hypervisor.
  • Confirm with your team which BigBlueButton version and host image your support terms should cover.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.