Run BrowserBox in Docker: image, network and deployment checks

BrowserBox publishes a container image containing its native binary, Chromium and the bbx command layer. The current README identifies version 21.0.3 for Linux AMD64 and ARM64 as ghcr.io/browserbox/browserbox:21.0.3, and the Docker deployment guide also lists docker.io/dosyago/browserbox (the guide's snippet uses 20.4.0 as an example tag, while :latest and :21.0.3 resolve to the current release). A valid license is required. The guide describes bbx docker, which manages a named deployment on a Docker engine, alongside a separate route for running the image on your own container infrastructure.

This guide explains the documented route and what to verify before deploying. No live container deployment was run end-to-end for this guide: on a macOS test host without a running Docker engine, direct docker commands could not reach a local socket, and a bbx docker run attempt started a temporary Colima engine and exited with status 1 before creating an image or container.

No startup duration, container memory, browser session or viewer login was measured. Treat the commands below as documented instructions, and run a full test on a host with a working engine and your own valid license.

What the container changes

The image bundles BrowserBox and Chromium, so the container host does not need a separate host Chromium installation. bbx docker creates a named Compose deployment and remembers the engine used for it. According to the Docker guide, setup verifies the image and platform and saves an immutable digest; later starts use that image until an explicit update.

The container is still an operating environment. Its host needs CPU, memory, disk, networking, updates and monitoring. The application and browser state can persist in a named volume. Container isolation is one layer; access to the Docker engine, host operating system, network and BrowserBox viewer needs its own security controls.

An image tag is a convenient release reference, while a digest identifies the exact image resolved during setup. Record the release and resolved digest in your deployment inventory. Review the release notes, keep a recovery plan, and verify the version after an update. Do not assume that recreating a container also removes its persistent data.

Before starting

Prepare a working Docker engine on a supported host and read the Docker deployment guide and installation and licensing requirements. On Linux, bbx docker can reuse Docker or install the official engine and Compose plugin. On macOS, it uses a running engine such as Docker Desktop or installs a dedicated Colima VM via Homebrew (browserbox-arm64 on Apple Silicon, browserbox on Intel).

On Windows, use the Unix bbx CLI inside WSL with Docker integration. Set BBX_DOCKER_CONTEXT before setup to bind a deployment to a named context; a transient DOCKER_HOST is refused, and later commands target the saved engine.

Obtain a valid BrowserBox license and decide whether the deployment can reuse an existing installation's license, terms acceptance and hostname. Eligible companies and universities can request a free 14-day organization evaluation ($0, no payment details, up to two concurrent sessions) using a work email on an organization domain with a website, limited to one per 90 days and subject to review; personal, free and anonymous emails are not approved. The paid 7-day evaluation is $20 per seat one time, up to ten seats, with any email address, billing address and Stripe card payment and no ID check. Orders are screened and some require manual review; the fee is refunded after commercial license payment succeeds, otherwise all sales are final, and every running deployment uses a licensed seat.

Choose the browser-facing hostname and certificate model. The default bind address is loopback (127.0.0.1), so a remote user cannot reach the container merely because it is running. For remote access, arrange controlled ingress, DNS, trusted TLS, identity and firewall rules. The certificate authority must be trusted by the user's browser; a valid host-side certificate does not automatically make every client trust it.

Check network access to the intended applications and to the licensing endpoints. The installation guide states that BrowserBox validates its license continuously every 331 seconds over TCP 443 against primary and fallback endpoints, directly or through a configured HTTP forward proxy. Losing both primary and fallback endpoints causes repeated stopping and restarting. An air-gapped network without a reachable licensing path is therefore not a supported steady state.

The documented named deployment

The Docker guide documents a named-deployment quick start (work in its example) after installing the BrowserBox command layer. Full installations include bbx docker, while container-only hosts can use the --cli-only installer flag described in the Docker guide. Check host firewall behavior when installing or managing services on Linux: the installation guide and README note that install.sh preserves active ufw on Linux full installs, while v21.0.3 bbx stop on a host installation still disables active ufw until v21.0.4 releases.

On a macOS test host without a running engine, running the documented command with an explicit version started a temporary Colima engine and exited with status 1 before an image or container appeared. The failure reason was not captured, so do not infer a cause from the exit code alone. Run it on your prepared host only after reviewing the license, terms and deployment settings.

bbx docker run work --version 21.0.3

Deployment names contain 1 to 59 lowercase letters, digits or hyphens and start with a letter or digit so the bbx- Compose project prefix stays within 63 characters. For a new name, bbx docker run configures and starts the deployment, waits for readiness and prints a login link; existing names reuse their saved configuration. A normal local setup reuses the installed license and terms acceptance, using local TLS on localhost or the installed certificate pair under ~/sslcerts for other hostnames.

The login link is a reusable bearer credential: send it through a private channel and keep it out of logs, tickets and public issues. The documented subcommands are setup, run, start, stop, restart, status, logs, link, update, remove, list, clean, config and exec, with setup flags --hostname, --port, --free-port, --bind, --tls, --cert-dir, --license-file, --version, --image and --accept-terms. Changing --bind from loopback exposes four service ports, so never publish them without firewall rules, authentication and TLS.

Do not place a product key in shell history, container images, source repositories, issues or public configuration. The documented named-deployment route stores the key in a private mode 0600 file beside compose.json under ~/.config/dosaygo/bbx-docker/ (BBX_DOCKER_HOME overrides that directory) and mounts it into the container without mounting the host's own BrowserBox configuration. Protect that file and the deployment's data directory with host permissions.

What was verified and what to test on your host

With BrowserBox CLI 21.0.3 on a macOS test host, bbx docker help returned the documented subcommand and flag summary (exit 0). Anonymous OCI manifest checks also confirmed that ghcr.io/browserbox/browserbox:21.0.3 (matching :latest) and docker.io/dosyago/browserbox:21.0.3 both publish linux/amd64 and linux/arm64 image manifests. On the same host without a pre-running Docker engine, docker pull ghcr.io/browserbox/browserbox:21.0.3 and docker run --rm ghcr.io/browserbox/browserbox:21.0.3 failed to reach the local Docker socket, and the temporary Colima engine from the bbx docker run test was removed afterwards.

Because no container reached startup, this guide reports no startup duration, container memory figure or live browser test. Do not use CLI process memory as a sizing estimate for Chromium. Measure a real workload on your target host and engine, including peak concurrent sessions, page complexity and persistent storage.

A successful image pull alone proves only registry access. For a real acceptance test, confirm your Docker context, start a licensed deployment, verify bbx docker status, open the viewer from an intended client, sign in to a harmless target and exercise the application workflow. Then run bbx docker stop and bbx docker start to confirm data persistence and verify that stopping releases the seat.

Record the version, resolved digest, host hardware, engine, timestamps, resource use and network behavior without logging product keys or login tokens.

Ports, TLS and persistence

The Docker guide describes four adjacent service ports with equal host and container numbers: main port 8888 by default, audio at 8886 (-2), documents at 8887 (-1) and authenticated DevTools at 8889 (+1). Chrome's private debugging port is never published. The bind address and firewall must reflect only the services required, and do not publish a port merely because it appears in a table.

For local TLS (--tls local), the client needs to trust the local authority. Provided TLS (--tls provided) uses an operator-supplied fullchain.pem and privkey.pem from --cert-dir. External TLS (--tls external) puts plain HTTP on host loopback behind an operator-managed HTTPS proxy; the guide says the proxy must serve all four public ports and forward the Host header and WebSocket upgrades rather than rewriting only the main login URL.

Direct UDP behavior varies by Docker and network setup, and the guide notes WebRTC with WebSocket fallback covers that case.

A named deployment has its own volume for profile, policy, configuration and downloads. The documented stop and remove commands retain data; only remove --purge deletes deployment data and configuration.

Decide retention and backup before a production run, and test recovery. Never attach one deployment's volume to two running containers or copy volumes to create seats. Protect backups as sensitive browser state.

The direct-image route is for operators who run their own orchestration. The guide documents LICENSE_KEY_FILE or LICENSE_KEY, BBX_TEST_AGREEMENT=true, PORT, APP_PORT, LOGIN_TOKEN, BBX_PUBLIC_URL and optional BBX_SERVICE_HOSTS (main, audio, docs, devtools behind one HTTPS edge, returning HTTP 421 for unknown hosts). On platforms such as Cloud Run, map all four hostnames to one service, enable session affinity, allow CPU between requests and run one instance per browser service without load-balancing instances behind a single login link.

Updates, support and cost

The container image never updates its own binary in place; bbx docker update pulls and verifies a requested image and recreates the container while retaining data. The guide says it saves previous-compose.json for inspection but does not automatically roll back if the new image fails readiness. Check data compatibility and recovery before changing versions; test the upgrade on a representative non-production deployment first.

Commercial licensing lists $119 per concurrent seat per year, starting at one seat, billed annually and renewed until canceled, with updates and support included for the license term (card, invoice or purchase order, plus applicable tax). Eligible non-profits, NGOs and government organizations have a $49 per seat annual offering with a 25-seat minimum ($1,225 per year plus tax), so for ten seats or fewer the commercial plan ($1,190 per year at ten seats) costs less. Hosting, storage, bandwidth and operator labor are extra, and capacity estimates require measuring active workloads rather than the failed test-host attempt.

When not to choose BrowserBox

If your team cannot operate Docker, TLS, persistent storage and the host, a managed service may fit better. If the application requires a full native desktop rather than a browser, test a desktop-oriented solution. If your environment cannot reach the license service, this deployment is not suitable without a supported network path. A container does not remove those requirements.

Prepare a supported engine and test one representative task with a paid 7-day evaluation.

Related guide

On-premise remote browser isolation without a cloud RBI vendor