Running Jibri in Docker for Jitsi recording: what it does and when you need it
Jibri records or streams a Jitsi Meet conference by running Chrome in a virtual framebuffer and encoding the output with ffmpeg. Each Jibri handles one recording at a time, and the project's README says it should run on its own machine or VM rather than sharing a host with other services. Teams add Jibri when meeting content must be captured and kept inside their own infrastructure, for example for training sessions, board meetings, or telehealth visits where a recording needs to live on storage the organization controls. If recording is not required, the rest of a Docker-based Jitsi deployment works without it, and it is worth confirming that requirement before any capacity planning starts. Jibri is an optional container in the official Docker setup, alongside the web, prosody, jicofo, jvb and jigasi containers. The Jitsi Docker guide documents it as the component for recording and streaming, so it is added on top of a working core deployment rather than being part of the baseline.
Because Jibri runs a full browser and video encoder, it has a different resource profile from the media router. Each recording consumes CPU, memory and disk I/O on the Jibri host, so a deployment that also runs videobridges should not treat the Jibri container as a small add-on. Decide early whether one Jibri will serve occasional recordings or whether you need several, since one recording per instance means concurrency is set by the number of Jibri hosts. Confirm with your own environment how much headroom each host has, and plan the storage path the recordings will use before the first test meeting. The official Docker guide and the jibri repository at the jibri GitHub repository are the natural next reads for the current compose and configuration details.
Jibri deployment options and when each fits
This table compares the three choices that change a Jibri design: where Jibri runs, whether you run one instance or a pool, and whether you use the current rootless containers or an older release that needed ALSA loopback. Read each row as a decision with its trade-off, then check the release notes for the version you plan to deploy before you commit to a layout.
| Option | What it means | Trade-off | When it fits |
|---|---|---|---|
| Jibri on the Jitsi host | Jibri container runs on the same machine as web, Prosody, Jicofo and the videobridge | Fewest machines to manage, but Chrome and ffmpeg compete with live media for CPU and memory | Small test or low-volume setups where recording is occasional |
| Jibri on a separate host or VM | Jibri runs on its own machine or VM that talks to the Jitsi stack over the network | Extra host to provision and patch, but recording load stays away from conference traffic | Production setups, since the Jibri README says a Jibri should run on its own machine or VM |
| Single Jibri | One Jibri instance handles recordings for the deployment | Simple to run, but a second recording request waits or fails while the first is active | Few meetings need recording and overlap is rare |
| Jibri pool | Several Jibri instances, each recording one meeting at a time | More hosts, storage and monitoring to run, but concurrent recordings stop competing for one machine | Organizations that expect several recordings or streams at the same time; confirm pool capacity with your own load tests |
| Current rootless containers | The release line where Docker containers run rootless with read-only filesystems, starting with stable-11146 | Follows the current Docker layout and permissions model, so setup guides apply directly | New installations on a current release, with storage directories prepared for the rootless user |
| Older releases needing ALSA loopback | Earlier Jibri setups that created an ALSA loopback device on the host so Chrome audio could be captured | Requires host kernel and audio configuration that is harder to reproduce and audit | Only when you must stay on an older release; confirm the exact requirement in the release notes for that version |
Adding the jibri.yml compose file to docker-jitsi-meet
This sequence adds a Jibri service to a working docker-jitsi-meet stack so meetings can be recorded into a directory you control. Each step closes with a check so you can confirm one change before moving to the next.
Confirm the release and container model
Check out the docker-jitsi-meet release you plan to run and confirm it includes the change made in stable-11146, where the containers became rootless with read-only filesystems. This affects where Jibri can write, so the storage and permission steps depend on it. Read the release notes and the Jitsi Docker guide for the version you deploy. Done when the release tag and container model are recorded in your change record and the web, prosody, jicofo and jvb containers start cleanly from that release.
Enable recording in the .env file
Edit the .env file in your docker-jitsi-meet directory to turn on recording. Copy the exact setting names from the Jitsi Docker guide instead of older forum posts, because variable names change between releases. Set only the recording and Jibri values the guide requires for your deployment, and leave the authentication settings you already reviewed unchanged. Done when the stack parses the file without errors and the recording setting shows the value you chose when you inspect the environment.
Add the jibri.yml compose file
Place the jibri.yml file from your docker-jitsi-meet release next to the base docker-compose.yml so the jibri service is defined alongside the core Jitsi containers. Use the file that ships with the release you confirmed in the first step, not one copied from another version, and keep the image tag aligned with the rest of the stack. Include both files when you run the compose command. Done when the combined configuration lists a jibri service with the expected image and validates without errors.
Create and own the recording directory
Create the host directory that Jibri will write recordings into, and set its ownership so the container user can write to it and other local users cannot read it. The rootless containers run as a non-root user, so a directory owned by root will block recording. Confirm the user and group IDs the container uses in the compose file and the Docker guide, then apply matching ownership and restrictive permissions. Done when a test file written from inside the container appears on the host with the expected owner.
Set shared memory for the Jibri container
Set the shared memory size for the Jibri service in the compose configuration. Jibri runs Chrome in a virtual framebuffer, and Chrome depends on shared memory, so an undersized allocation can cause the browser to crash during a recording. Take the value from the Jitsi Docker guide or the jibri project documentation for your resolution, and confirm it with those sources before you go live. Done when the running container reports the shared memory size you configured.
Start Jibri on a separate host
If you run Jibri on its own host or VM, start the Jibri service there instead of on the main Jitsi host. The jibri repository states that one Jibri handles one recording at a time and should run on its own machine or VM, so give each instance a dedicated host and point it at the XMPP and Jicofo settings the Docker guide describes. Done when the instance connects to the Jitsi stack and reports idle in its logs before any meeting starts.
Verify with a test recording
Start a test meeting with recording enabled, record briefly, stop the recording, and confirm the output file lands in the recording directory with the expected owner and plays back correctly. Then start a second meeting while the first recording is still running and observe whether the second request is queued, refused or sent to another Jibri instance, so you know how your setup behaves under load. Done when the file plays, the logs show the session start and finish, and the second request behaves as your configuration predicts.
Storage permissions, shared memory and host layout
Most failed Jibri containers trace back to a short list of host-level details: who owns the recording directory, how much shared memory Chrome gets, and whether the Jibri host can reach the XMPP and Jicofo services it depends on. The cards below cover those items and the ports and logs you need when something still goes wrong. Confirm exact values against the Jitsi Docker guide for your release.
Recording directory ownership
Jibri writes finished files to a host directory that is mounted into its container. The container user must own that directory and be able to write to it, or recordings fail silently at the end of a meeting. Check the user ID the container runs as in the current jibri.yml and set ownership on the host path to match. Because releases since stable-11146 run containers rootless with read-only filesystems, confirm which paths must be writable before you lock anything down.
Shared memory size for Chrome
Jibri runs Chrome inside a virtual framebuffer, and Chrome uses shared memory heavily while rendering a meeting. The container's shm_size must be set above Docker's small default, or the browser can crash mid-recording. Treat the value as a setting to confirm in the Jitsi Docker guide and test with a full-length recording, not a number to copy from a forum thread. Raise it only after checking the host has the memory to spare.
Network path to XMPP and Jicofo
When Jibri runs on its own host, it must reach the Prosody XMPP server and Jicofo over the network, not just the local Docker bridge. Confirm the host can resolve and connect to the XMPP domain and that the Jibri credentials in .env match the accounts configured on Prosody. A Jibri that starts but never receives a job usually has a broken path here, so test connectivity before debugging the recording itself.
One recording per Jibri
The Jibri README states that only one recording at a time is supported on a single Jibri, which should run on its own machine or VM. Plan one Jibri instance per concurrent recording or stream, and expect a second request to be refused while the first is active. Running several Jibri containers on one host does not add concurrency unless each has its own resources, so size the host for one job per instance.
Ports and log locations
The Jibri host needs outbound reach to the XMPP and Jicofo endpoints, and your firewall rules should allow it without opening inbound paths to the meeting media ports. When a recording fails, the Jibri container logs, the Jicofo and Prosody logs, and the recording output directory are the three places that show where the job stopped. Collect all three before you change settings, and confirm the exact log paths for your release in the Jitsi Docker guide.
When older releases needed ALSA loopback
Older Jibri setups captured meeting audio through an ALSA loopback device on the host, which Chrome played into and ffmpeg read from. Many guides and forum answers still describe that arrangement, so a team that copies an old host configuration may build a path the current container image no longer expects. Before you change anything, confirm how the release you are deploying captures audio. Check the jibri.yml file and the release notes for the jibri and docker-jitsi-meet versions you pin, and read the current README in the jitsi/jibri GitHub repository for the audio setup it describes. Do not rely on a blog post for the answer.
To identify the path your release uses, start from the images and configuration you actually run, not from memory of an earlier install. Record the exact image tags in your .env and compose files, then look for any ALSA-related settings, device names, or modprobe snd-aloop steps in your host provisioning scripts. If the host has a loopback module loaded but the container image does not reference it, the module is dead weight at best. If the container expects a device the host never created, Jibri may start, join meetings and still produce recordings with missing or silent audio. Test on a non-production host first, using a short test meeting with two speakers and a recording you play back end to end, and confirm the audio track, not just that a file exists.
Mixing an old host configuration with a newer container image causes silent failures because each side can look healthy on its own. The container starts, the recording file is written, and the logs show no fatal error, while the audio device it reads is wrong or absent. Keep the host setup and the image version in one change record, and roll them forward or back together. When you upgrade, repeat the same two-speaker test and compare the audio result with your last known good recording. If you cannot tie a host setting to a line in the current guidance, treat it as unverified and remove it on the test host before production.
Questions teams ask before running Jibri in Docker
What drives the effort of adding Jibri to an existing docker-jitsi-meet stack?
The effort depends mostly on how well the existing stack is documented and how many Jibri hosts you plan to run. Jibri is an optional container set alongside web, prosody, jicofo and jvb, and the official Docker guide adds it through a separate compose file, so the core work is wiring it into your .env settings and storage paths. The main effort drivers are host preparation (Jibri needs a machine or VM of its own, as its README states), storage permissions for the recording directory, shared memory configuration, and testing a live meeting end to end. A stack with clean configuration files and a known network layout usually moves faster than one that was hand-edited over several years. Ask any partner to show how they will scope these items before agreeing a fixed price.
Can our in-house team add Jibri to Jitsi without outside help?
A team that already runs Jitsi Meet on Docker can usually add Jibri itself, provided it has someone comfortable with Docker Compose, Linux permissions and browser-based media troubleshooting. The Jitsi scalable setup guide warns that building more complex Jitsi infrastructure is not a task for beginning administrators and recommends configuration management tools such as Ansible or Puppet, so a team new to Jitsi should weigh that advice first. Outside help makes most sense when the team lacks Jitsi experience, needs a reproducible build across several Jibri hosts, or must produce documented evidence for a compliance review. Confirm internally who will own the Jibri hosts, the recording storage and the upgrade calendar before you decide.
What does the work need from our team before it starts?
You will need to provide a host or VM for each Jibri instance, a domain already serving your Jitsi Meet deployment, storage for recordings, and a test meeting where the recording can be checked. The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, so the domain and certificate must be in place before Jibri testing starts. Recording storage needs write access for the container user, and the host needs enough shared memory and CPU for Chrome and ffmpeg, which your partner should confirm against the Jibri documentation for your chosen resolution. Agree the access you will grant (SSH, Docker hosts, DNS, certificate tooling) in writing before work begins.
How long does adding Jibri take with one instance compared with a pool?
No duration is fixed by the supplied sources, so treat any timeline as something to request in a written scope rather than assume. Time generally grows with the number of Jibri instances because each one needs its own host, storage path and test run, and because the Jitsi Meet README-style rule of one recording at a time per Jibri means a pool needs planning for concurrent meetings. A single instance on a host that already meets requirements is the shortest path. Existing setup matters too: a stack that already runs from the official Docker guide with clean configuration will take less time than one with custom web builds or older Debian package layouts. Ask the partner for milestones covering host preparation, first test recording, concurrency testing and handover.
Can Jibri run on the same host as the other Jitsi containers?
The Jibri README states that Jibri should run on its own machine or VM, and that a single Jibri supports only one recording at a time. Running it alongside web, prosody, jicofo and jvb on one host is possible in a test environment, but it competes for CPU, memory and disk I/O with the video bridge, which can degrade live meetings. Keeping Jibri on a separate host also limits the blast radius of a Chrome or ffmpeg crash on the core conferencing services. If you consolidate onto one host for budget reasons, confirm the resource headroom with your partner and test a full-length recording while participants are active.
What recurring work follows Jibri upgrades?
Each Jitsi release needs the Jibri images, compose file and .env settings reviewed alongside the core containers, because the Docker guide ties the stack together and a mismatched Jibri image can break recording. Since stable-11146 the containers run rootless with read-only filesystems, so after an upgrade confirm that the recording directory is still writable by the correct user and that the paths in your compose file match. Recurring tasks include checking disk space for recordings, rotating logs, verifying that a test recording still completes after each update and keeping a rollback copy of the previous configuration. Ask whether the engagement includes retainer-based upgrades, since ongoing support is available as a separate agreement.
Does the work include a security review of the recording setup?
Recording setups touch stored media, so the review should cover where files land, who can read them, and whether the Jibri host is isolated. DeployOpen can harden, back up, document and support self-hosted Jitsi inside your infrastructure, and it prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies perform those assessments. Ask for the access model of the recording directory, the logging you can review, and how consent notices will be shown before recording starts, since those decisions determine what evidence your assessor will request.
Security and operational considerations for recording containers
A Jibri container joins meetings, captures audio and video, and writes a file to disk, so it touches credentials, storage and participant consent at once. The cards below cover the places where a recording deployment creates risk that the videobridge alone does not. Check each one before the first production recording.
Recordings are a separate stored copy
The Jitsi security page states that the videobridge decrypts packets in memory while routing and never stores them. A Jibri recording is different: it is a file written to the host that the organization must govern. Decide where files land, who can read them, and how long they stay before the first recording runs, because the media protection that applies to live calls does not carry over to the file.
Jitsi security pageRestrict access to the recording directory
The Jibri output directory is a host path mounted into the container, so host file permissions decide who can read finished recordings. Set the owner and group of the mounted directory to match the user the container runs as, and keep it outside world-readable paths. Confirm that backup jobs and sync agents on the host do not copy the directory to places the recording policy does not cover.
Protect the Jibri join credentials
Jibri signs in to the XMPP server as a recorder account so it can join rooms and start capture. That account holds broad rights to observe meetings, so it needs a long random password stored in the .env file or a secret store, never in a shared compose file or chat. Limit the account to recorder duties and rotate its password when a host is retired or a team member with access leaves.
Use the rootless and read-only model
Since stable-11146, the official Jitsi Docker containers run rootless with read-only filesystems. Jibri still needs a writable location for recordings and temporary capture data, so the write paths are the exceptions to review. Keep the read-only setting in place, grant write access only to the mounted recording directory, and check after each upgrade that the mounts still match the release notes.
Jitsi Docker guideGive notice before recording starts
Recording a meeting without notice can break consent rules and workplace or education policy, and the law in many jurisdictions requires all-party consent in some cases. Decide the notice wording, where it appears (prejoin screen, room topic, or the invitation), and who may start a recording. Ask your legal or privacy team to approve the text before the Jibri pool goes live, and document the approval with the deployment record.
Keep recording details out of logs
Jibri and the Jitsi containers write logs that can include room names, participant identifiers, file paths and recorder account details. Route container logs to a central system with the same access rules as the recordings, and set a retention period for them. Review a sample of log output after a test recording to confirm that no passwords, tokens or stream keys appear in plain text.
How Jibri connects to the Jitsi stack
The diagram starts with a participant's browser joining a conference served by the web container, which hands signaling to prosody and media routing to jicofo and jvb. A jibri instance joins the same meeting as a hidden participant, runs Chrome in a virtual framebuffer, and encodes with ffmpeg. Check that Jibri can reach the stack and that its output lands in the recording storage directory inside your infrastructure, which is the boundary to confirm.
Jibri joins the conference like a hidden participant and writes recordings to local storage.
Sizing a Jibri pool and planning storage for recordings
Start with a single Jibri instance before you plan capacity or retention. The first working recording proves that the Docker setup, the network path to your Jitsi Meet deployment and the storage location all function together, and it gives you a baseline to measure against. Jibri records one meeting at a time on each instance, so every additional concurrent recording needs another instance, and that multiplies the CPU, memory and disk you must provide. Confirm this per-instance limit against the jibri README in the jitsi/jibri GitHub repository for the release you deploy, because the constraint shapes every later sizing decision.
Two sibling topics take the work further. The sizing topic covers how many Jibri instances your peak number of simultaneous recordings requires, how much RAM and CPU each resolution consumes, how disk speed affects encoding, and whether a pool runs better as containers or virtual machines. The live streaming topic covers how streams share capacity with recordings, so a stream started during a recording can exhaust a host that looked adequate on its own. Read both before you commit to hardware or a pool size.
Storage planning is the other half of the decision. Recordings land on the Jibri host first, so the directory you mount into the container, its ownership and its free space determine whether a recording completes at all. Retention, moving files to long-term storage, access control and the consent notices shown before recording belong to the storage topic. Ask your compliance and legal owners what must be kept, for how long and who may open it, and get those answers before you size disks, because they decide whether recordings stay on Jibri hosts or move out within hours.
How DeployOpen scopes and delivers Jibri in Docker
DeployOpen plans, implements, hardens, documents and supports self-hosted Jitsi inside your own infrastructure, including Jibri recording on Docker. Each engagement starts from a written scope that sets which hosts, storage locations and recording features are in play before any container is deployed.
How we scope
- Confirm the docker-jitsi-meet version and whether Jibri runs on the same host or on separate machines.
- Define which meetings must be recorded, who can start recording, and where files are expected to land.
- Agree in writing how many concurrent recordings the first phase supports and how the pool can grow later.
How we build
- Add the jibri.yml compose file, storage directories and permissions, and shared memory settings for your Jibri hosts.
- Test one recording end to end on a dedicated Jibri machine before any second instance is added.
- Check ALSA loopback requirements only where your Jitsi release and host image need them, and document the result.
How we hand over
- Deliver the compose files, environment settings, host notes and runbook for starting, stopping and restarting Jibri.
- Document the recording test results, failure cases observed during testing and the fixes applied.
- Walk your platform and security teams through the recording storage path and the access controls around it.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Upgrades to later docker-jitsi-meet releases are planned and retested against the Jibri setup each time.
- Support covers changes to recording capacity, new Jibri hosts and fixes for problems found in your environment.

