Can OpenClaw run on company infrastructure with OpenClaw self-hosted deployment controls?
A platform or security lead deciding whether staff can run OpenClaw on company hosts should start from a simple fact: OpenClaw is an open-source AI assistant released under the MIT license, it has no paid tier, hosted service or token, and it runs on the user's own hardware, so self-hosting is the only deployment model the project offers. The OpenClaw Docker docs cover prebuilt images published at ghcr.io/openclaw/openclaw with a Docker Hub mirror, a Compose setup with openclaw-gateway and openclaw-cli services, a minimal Kustomize starting point for Kubernetes, and Docker Swarm, Ansible with Tailscale and Podman options. The decision is therefore less about whether the software can be installed on company infrastructure and more about which deployment shape the organization can defend.
Deployment does not add the controls an enterprise usually expects from a multi-user platform. The OpenClaw security docs state that the project assumes one trusted boundary per gateway, and that mixed-trust deployments should use separate gateways and credentials, ideally on separate OS users or hosts. The security policy describes OpenClaw as local-first agent infrastructure for trusted operators, not as a boundary between adversarial users on one gateway, and it says plugins run in-process with the gateway's privileges. Confirm with the project and your own testing whether any identity provider or SSO integration exists for the Control UI in the version you deploy, since the deployment guides do not establish one. Plan for one gateway per trust group, with its own credentials and host or OS user separation, before you approve it for shared use.
Before exposing a container or VPS, check the network settings. The OpenClaw security docs say container images default to an exposed bind and should be paired with authentication, and they advise reviewing the Docker DOCKER-USER firewall chain on a VPS or public host, because published container ports can bypass host firewall rules. The Control UI listens on port 18789 in the Compose setup, so restrict that port to approved networks or a private overlay. Ask the platform team to record the bind address, the published ports, the image tag and digest, and the Node.js runtime version (the README recommends 24.22.1 or later or 26.12.1 or later for security), then test from outside the approved network before go-live.
Deployment options and what each supports
This table compares the deployment routes OpenClaw documents for running the gateway on company infrastructure, from prebuilt images to Kubernetes, Swarm, Ansible and Podman. Read each row for what the project documents, what ships ready to use, what you must supply yourself, and what the docs do not cover. The main takeaway is that every route still needs gateway authentication and network exposure review before staff use it.
| Deployment option | What the project documents | What is built in | What needs outside components | What is not available |
|---|---|---|---|---|
| Prebuilt Docker images | Images published at ghcr.io/openclaw/openclaw, with a Docker Hub mirror at openclaw/openclaw | Gateway image, plus -browser variants that bundle Chromium | Container runtime, persistent storage for config and data, your own authentication setup | Container images default to an exposed bind and must be paired with auth |
| Docker Compose | Compose setup running openclaw-gateway and openclaw-cli services | Two services and a Control UI listening on port 18789 | Host firewall rules, TLS termination if the UI is reached remotely, secret handling | Documented SSO or identity-aware proxy integration (confirm with the project) |
| Building from source | Image build from the repository source | Full build pipeline defined in the project | At least 6 GB of RAM on the build host; prebuilt images avoid this need | Build hardening or signed image verification (confirm with the project) |
| Kubernetes (minimal Kustomize) | Minimal Kustomize starting point with replicas set to 1 and a Recreate strategy | Base manifests for a single gateway instance | Cluster, ingress, secrets management, storage class, network policies | Documented multi-replica or high-availability configuration |
| Docker Swarm | Swarm option described in the Docker docs | Stack definition for the gateway | Swarm cluster, overlay networking, secret distribution | Documented scaling or failover guidance (confirm with the project) |
| Ansible with Tailscale | Ansible option that pairs the deployment with Tailscale | Playbook-based host setup | Ansible control node, Tailscale tailnet and its access policy | Documented enterprise identity mapping for tailnet users (confirm with the project) |
| Podman | Podman option documented alongside Docker | Container definitions for rootless-style runs | Podman host, storage and network configuration | Documented parity with every Docker feature (confirm with the project) |
| VPS or public host | Advice to review the Docker DOCKER-USER firewall chain before exposure | Nothing beyond the container deployment | Host firewall, reverse proxy or VPN, monitoring, patching process | Managed hosting, uptime or support commitments from the project |
How the gateway, Control UI and containers fit together
The gateway process is the component that matters most to your review. It is the single trusted boundary OpenClaw documents for a deployment, and the Control UI, the CLI and the channel connections all depend on it. In the Docker setup, the compose file runs two services, openclaw-gateway and openclaw-cli. The gateway does the work: it holds channel credentials, runs the agent, and exposes the Control UI on port 18789. The CLI service is an operator tool that talks to the gateway, so it should be treated as privileged access, not as a convenience container. Channel connections such as Discord, Slack, Telegram or WhatsApp are outbound links from the gateway to each platform, which means every chat account that can reach the agent is effectively a path into the gateway's privileges.
The container network bind is where exposure decisions are made. The OpenClaw security docs state that container images default to an exposed bind and should be paired with authentication. Read that as a default you must override, not a safe setting you can leave alone. Before any container is reachable from a network, confirm which address the gateway listens on, whether the Control UI port is published to the host or to the internet, and whether authentication is enforced on every path to it. Gateway authentication and access control are covered in their own section, so the design question here is simply who can reach port 18789 and through which network path.
On a VPS or other public host, Docker publishes container ports through its own firewall rules, which can bypass host firewall policies you may already rely on. The OpenClaw docs advise reviewing the Docker DOCKER-USER chain for exactly this reason. Make that review a named step in your rollout: list the published ports, confirm that the chain blocks inbound traffic you did not intend to allow, and repeat the check after every compose or orchestrator change. Kubernetes and Ansible deployments need the same question answered with their own ingress, service and network policy objects. Ask your platform team to confirm where the gateway's exposure is enforced in your chosen design, and keep the gateway on a private network unless a reviewed reason requires otherwise.
Which deployment decisions set your exposure
Where the gateway runs, how it is reachable, and which image and Node.js version it uses decide most of the exposure. The cards below cover the decisions a reviewer should confirm before any staff member connects to a self-hosted OpenClaw gateway.
Target platform and its exposure
OpenClaw documents Docker images, a Docker Swarm option, Kubernetes through a minimal Kustomize starting point, and Ansible with Tailscale or Podman. Each target changes who can reach the gateway by default. The docs advise reviewing the DOCKER-USER firewall chain on a VPS or public host. Confirm which target your team will use, who administers it, and which ports the host exposes.
Docker install docsNetwork boundary and bind address
The security docs say container images default to an exposed bind and should be paired with authentication. The Control UI listens on port 18789 in the compose setup. Decide whether the gateway stays on a private network, sits behind a VPN, or is published on a public address. Confirm the bind setting and the host firewall rules before the gateway receives any channel traffic.
Security docsOne gateway per trust boundary
The security docs assume one trusted boundary per gateway. Mixed-trust groups should run separate gateways with separate credentials, ideally under separate OS users or on separate hosts. Map each group of staff, each client, and each sensitive dataset to its own gateway before rollout. Shared hosts with shared credentials undo the separation, so confirm both the host and the credential set for each gateway.
Image source and pinned versions
Prebuilt images are published at ghcr.io/openclaw/openclaw, with a Docker Hub mirror at openclaw/openclaw. Variants with the -browser suffix bundle Chromium, which adds software to the container. Building from source needs at least 6 GB of RAM, which prebuilt images avoid. Pin a specific tag, record its digest, and confirm which registry your organization approves for pulls.
Docker image docsNode.js version requirement
The README requires Node.js 24.16.0 or later on the 24.x line, or 26.1.0 or later. It recommends 24.22.1 or later, or 26.12.1 or later, for security. Check the Node.js version in any host or base image before deployment, and repeat the check whenever the image is rebuilt. Do not run a version below the recommended security line on a gateway that reaches company data.
Persistence and replica settings
The minimal Kubernetes starting point keeps replicas at 1 with a Recreate strategy, so two gateways never run against the same state at once. Persistent volumes hold configuration, credentials and session data on the host. Confirm where those volumes live, who can read them, how they are backed up, and whether they are encrypted at rest under your storage policy.
How the deployment answer changes by environment
This is the setting the project's trust model describes most directly: one trusted operator group sharing one gateway on a network they control. The Docker docs cover the basics (prebuilt images, compose with the openclaw-gateway and openclaw-cli services, and the Control UI on port 18789), and the security docs say container images default to an exposed bind and should be paired with auth. Even on a private network, that default needs to be changed deliberately.
- Image source: Pin the prebuilt image you approve from
ghcr.io/openclaw/openclawor the Docker Hub mirror, and decide whether the-browservariant with bundled Chromium is needed at all. - Bind and auth: Confirm the gateway is not bound to a wider interface than the team needs and that authentication is enabled before anyone connects.
- Build resources: Prebuilt images avoid the 6 GB RAM the docs cite for building from source, so build only if your supply chain requires it.
- Runtime version: Run a Node.js version that meets the README minimums and the security recommendation.
Confirm that the single-boundary assumption holds: every user of the gateway should be someone the team already trusts with the same credentials and workspace.
When teams with different access rights, or staff outside the trusted group, share an installation, the security docs are direct: mixed-trust deployments should use separate gateways and credentials, ideally on separate OS users or hosts. A shared container or Kubernetes deployment does not create that separation by itself, because all tenants would still sit inside one trust boundary.
- Separate gateways: Run one gateway per trust group rather than adding teams to a shared one.
- Separate credentials: Give each gateway its own channel credentials and model keys so access can be revoked per group.
- Host separation: Use separate OS users or hosts where the trust difference is real, and confirm the container runtime does not share the same volumes between groups.
- Replica count: The Kustomize starting point keeps replicas at 1 with a Recreate strategy, so scaling for tenancy is not a substitute for separate gateways.
- Plugin review: Plugins run in-process with gateway privileges, so approve them per gateway.
Your organization must build the tenancy model, credential issuance and offboarding process, because the project does not supply them.
A VPS or public host changes the risk profile most. The security docs say container images default to an exposed bind and advise reviewing the Docker DOCKER-USER firewall chain on a VPS or public host. Docker publishes ports in ways that can bypass host firewall rules, so an interface that looks closed on the host may still be reachable. The project's own security policy describes OpenClaw as local-first infrastructure for trusted operators, which makes internet exposure a deliberate decision that your organization owns.
- Firewall chain: Review
DOCKER-USERrules and confirm the published port is reachable only from the sources you allow. - Authentication: Require auth on the Control UI before exposure, and do not rely on obscurity of the port.
- Network path: Prefer a private access path such as a VPN or identity-aware proxy over a public listener, and confirm that choice against the network exposure page in the security docs.
- Patch cadence: Track the security advisories and move to the recommended Node.js patch level promptly.
- Logging: Forward gateway logs off the host, since local logs are a target on a public machine.
Test the exposed surface from outside your network after every change, because the defaults and the firewall behavior are the parts most likely to drift.
In an air-gapped or regulated network, the questions are whether the software can be obtained, verified and run without outbound connections the organization has not approved. The Docker docs list prebuilt images and a source build path, and the Docker docs describe Kustomize, Docker Swarm, Ansible with Tailscale and Podman options. Each option has different dependencies, and some assume connectivity that an isolated network may not allow. OpenClaw connects to chat channels and model services by design, so those connections must be scoped deliberately.
- Artifact transfer: Mirror the approved image into your internal registry, and build from source if your policy requires reproducible builds.
- Dependency review: Check Ansible and Tailscale requirements against the network rules, since the Tailscale option assumes a tailnet.
- Outbound paths: Confirm which chat channels and model endpoints the gateway may reach, and block the rest at the network layer.
- Secrets and logs: Decide where configuration, credentials and transcripts are stored on the host and who can read them.
- Compliance evidence: Record the image digest, version and configuration so an assessor can trace what ran.
Confirm with your security team and any assessor which deployment option, network path and evidence set meet your controls before the first production use.
Order of work before a production gateway goes live
This sequence moves from runtime and image choices to trust boundaries, exposure controls and a final audit, so that each later control is applied to a known, pinned deployment. The output is a signed-off record that the gateway is reachable only where the organization intended.
Confirm the Node.js runtime version
The platform or DevOps owner checks the Node.js version on the host or in the chosen image against the OpenClaw README requirements, which list Node.js 24.16.0 or later on the 24.x line, or 26.1.0 or later. The README recommends 24.22.1 or later, or 26.12.1 or later, for security, so the team should confirm the version meets the recommended level and record it in the change ticket. The step is done when the recorded version is at or above the recommendation and the security team has accepted it.
Choose and pin the image source
The platform owner selects where images come from: the project's published images on GitHub Container Registry, the Docker Hub mirror, or an internal build. The Docker documentation notes that building from source needs at least 6 GB of RAM, which prebuilt images avoid, and that
-browservariants bundle Chromium, which enlarges the attack surface. Pin the image to a specific digest or version tag, copy it into your registry, and confirm the browser variant is used only where needed. The step is done when the deployment manifest references an immutable image reference that is approved in the registry.Decide the trust boundary and gateway count
The security lead and the business owner agree who may use each gateway. The OpenClaw security docs assume one trusted boundary per gateway, and mixed-trust use should run separate gateways with separate credentials, ideally on separate OS users or hosts. Record each gateway, its user group, its channels and its credentials in a register. The step is done when no gateway serves two groups that do not trust each other, and the register is signed off.
Set the bind address and authentication for containers
The engineer sets the gateway bind and authentication before the container is reachable. The OpenClaw security docs state that container images default to an exposed bind and should be paired with authentication, so the default must be changed deliberately and the access method documented. Confirm that the Control UI on port 18789 requires authentication and that the compose or Kubernetes service does not publish it on a wider interface than planned. The step is done when a test request without valid credentials is refused and the configuration is in version control.
Review the DOCKER-USER chain on any VPS
On a VPS or other public host, the network engineer reviews the Docker DOCKER-USER firewall chain. Docker publishes container ports in ways that can bypass host firewall rules that administrators expect to apply, which is why the OpenClaw docs advise this review. Confirm which rules apply to traffic to the gateway port and that the default policy blocks unexpected inbound access. The step is done when a documented rule set has been reviewed by someone other than its author and matches the intended exposure.
Restrict network reachability
The network team limits who and what can reach the gateway. Options include private cluster networking, a VPN or mesh network, or an identity-aware reverse proxy, depending on the environment. Ask the vendor or project documentation to confirm which trusted-proxy and private-network options your chosen deployment (Docker, Kubernetes Kustomize, Swarm, Ansible with Tailscale, or Podman) supports. Keep the Kubernetes starting point at one replica with a Recreate strategy unless the team has tested otherwise. The step is done when a scan from outside the approved network cannot reach the gateway port.
Verify exposure with the built-in security audit
The platform owner runs the project's
openclaw security auditcheck against the running gateway and reviews every finding that relates to exposure, authentication and permissions. Findings that cannot be fixed before launch are recorded with an owner, a compensating control and a review date set by the security lead. The step is done when the audit output is saved, no unaccepted exposure finding remains, and the security lead signs the go-live record.
What a security reviewer asks to see for this deployment
This table lists the evidence a security reviewer should request for an OpenClaw gateway running in Docker, Kubernetes or on a VPS, with the question each item answers and where the evidence comes from. Use it as a checklist during approval, since several items depend on the exact image tag, Node.js build and network settings in your own environment. The main takeaway is that container defaults are not enough on their own: the bind setting, authentication, host firewall and trust boundary must be recorded and checked before any staff member connects.
| Question | Evidence to request | Where it comes from |
|---|---|---|
| Which image and version are running? | Image reference, tag or digest from ghcr.io/openclaw/openclaw or the Docker Hub mirror, and whether a -browser variant is used | Deployment manifest or compose file, plus the image digest from the registry |
| Which Node.js version is the runtime? | Node.js version on the 24.x line or 26.x line that meets the README minimum, and confirmation it is at or above the recommended security patch level | OpenClaw README requirements, and the runtime image or host package inventory |
| Is the gateway bound and authenticated? | Bind address and port settings, auth mode in use, and proof that the Control UI on port 18789 is not reachable without auth | Gateway configuration, container port mappings, and the output of the openclaw security audit |
| Is the host firewall reviewed on a VPS or public host? | Documented review of the DOCKER-USER firewall chain, with rules that limit inbound access to approved sources | Host firewall rule export, and the OpenClaw security docs guidance on DOCKER-USER |
| Is the trust boundary documented? | Written statement that each gateway serves one trusted boundary, and separate gateways and credentials for any mixed-trust group | OpenClaw security docs on the trust model, and the internal architecture record |
| Which plugins run in the gateway? | Inventory of installed plugins with version, source and owner, since plugins run in-process with gateway privileges | Gateway plugin directory and configuration, and the OpenClaw security policy |
| How are advisories monitored? | Named owner who watches the private security advisory channel on the openclaw/openclaw repository, and a record of upgrades after each advisory | OpenClaw security policy, and the team's patch and change log |
Questions buyers ask before approving OpenClaw containers
Is there a paid OpenClaw edition or enterprise tier?
No. The OpenClaw README states that OpenClaw has no paid tier, hosted service or token, and it runs on the user's own hardware. The software is released under the MIT license, so the company's own cost is the infrastructure it runs on plus any outside help it chooses to buy. Confirm with the project before assuming any commercial support or enterprise terms exist, since the README is the only source supplied for this point. Your budget should therefore cover the hosting, the time your engineers spend on hardening and operations, and any implementation or testing services from a partner.
What drives the effort of a Kubernetes or VPS deployment?
The main drivers are how many gateways you run, whether they serve mixed-trust groups, and how much network exposure you need. The OpenClaw Docker docs describe a minimal Kustomize starting point for Kubernetes that keeps replicas at 1 with a Recreate strategy, along with Docker Swarm, Ansible with Tailscale and Podman options. Building the image from source requires at least 6 GB of RAM, while prebuilt images avoid that step. On a VPS or public host, the docs advise reviewing the Docker DOCKER-USER firewall chain, and container images default to an exposed bind that must be paired with authentication. Each of these adds review and testing work before go-live.
Can SSO be added at the container layer?
The container image alone does not provide single sign-on, so SSO has to come from a layer you place in front of or around the gateway. The OpenClaw security documentation covers gateway authentication, including token, password, trusted proxy and Tailscale identity options, and you should confirm with the project whether an identity-aware proxy can be used in your setup. Treat any SSO design as an architecture decision to validate in your own environment, and test that the Control UI on port 18789 is not reachable without the chosen control. Your identity team should review how sessions and user identities map to the gateway.
What can our own team do, and where is outside help worth buying?
Your team can deploy the prebuilt images with Docker Compose, which runs the openclaw-gateway and openclaw-cli services, and manage the gateway with your existing container tooling. Outside help is most useful for the parts that carry risk: setting the exposed bind and authentication correctly, reviewing the DOCKER-USER chain on a public host, separating trust boundaries, and testing the result. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own infrastructure, and runs security testing that includes AI agents. Ask any partner to show how they will verify the exposure settings, not only that the service starts.
How are fixed-scope engagements agreed?
Most DeployOpen engagements are fixed-scope, meaning the scope, deliverables and timelines are agreed in writing before work starts. DeployOpen does not publish a price list, so a quote follows from that written scope. To compare proposals, ask each vendor to list the target environment, the deployment method (Compose, Kubernetes, Swarm, Ansible or Podman), the exposure and authentication controls to be verified, the testing included, the handover documents and who performs each task. A clear scope makes the quote easier to compare and reduces change requests later.
Can one gateway serve several teams safely?
The OpenClaw security policy describes the project as local-first agent infrastructure for trusted operators, and it is not designed as a boundary between adversarial users on one gateway. The security documentation assumes one trusted boundary per gateway and says mixed-trust deployments should use separate gateways and credentials, ideally on separate OS users or hosts. For several teams, plan one gateway per trust group, each with its own credentials and host isolation, and check this with your security reviewers before onboarding anyone. Kubernetes replicas are not a substitute for that separation.
What does a retainer cover after go-live?
A retainer covers ongoing work after the first deployment, such as upgrades, continuous testing and operational support. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and the exact coverage is set in the written agreement. Upgrades matter here because the README recommends Node.js 24.22.1 or later on the 24.x line, or 26.12.1 or later, for security, and the minimum requirements are 24.16.0 or later on 24.x or 26.1.0 or later. Ask what the retainer includes for version tracking, security advisory review, patch testing and rollback, and how the response is handled when an advisory is published.
How DeployOpen helps you deploy OpenClaw safely
DeployOpen plans, implements and hardens self-hosted open-source platforms inside your own infrastructure, including your cloud accounts, data centers or air-gapped networks. For OpenClaw, that means fixing the deployment shape, container exposure and network boundary in writing before any gateway runs on company hosts.
How we scope
- Engagements are fixed-scope, with the deployment target, runtime and exposure model agreed in writing before work starts.
- The written scope names which option applies: Docker or Compose, Kubernetes, Swarm, Ansible or a VPS host.
- Scope records one trusted boundary per gateway, with separate gateways and credentials for any mixed-trust group of users.
How we build
- We configure the gateway container bind and authentication so the Control UI is never exposed without the auth settings in place.
- We review the Docker DOCKER-USER firewall chain on any VPS or public host and document the rules that were applied.
- We test the gateway deployment against the exposure checks in the project's security documentation before handover.
How we hand over
- You receive the deployment documentation, configuration files and a record of every exposure setting that was changed.
- Handover covers the Node.js runtime version pinned for the host, image tags used, and the update path for each.
- We document where gateway credentials, channel tokens and logs sit on the host so your security team can review them.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Retainers can cover image updates, Node.js patch levels and re-checking exposure settings after each upgrade.
- Confirm with us in the quote how advisories published for OpenClaw will be reviewed and applied to your environment.

