WhoBuilt

Lobster Trap: OpenClaw in Containers from Local to K8s and Back

May 22, 2026· 22 min· 5.5K views·Watch on YouTube

Speaker

Sally Ann O'Malley, a Red Hat engineer with a background in containers, Linux security, and Kubernetes, explains how she runs OpenClaw in containers locally and on Kubernetes.

Why containerize OpenClaw

After years working on containers and Kubernetes, Sally began exploring AI and installed OpenClaw in a container before moving it to OpenShift. She argues that containers make the setup reproducible and portable, isolate host access, and provide a clean environment without adding clutter to her computer.

Managing secrets and persistent state

Sally keeps tools, skills, and MCP server configuration in a directory that she mounts into the container. With Podman, she stores API keys as secrets and maps them into OpenClaw's secret references; Kubernetes offers a similar pattern with Kubernetes Secrets. She keeps runtime state in a Podman volume or Kubernetes persistent volume claim, and backs up her personal OpenClaw nightly.

From local setup to team use

Sally expects AI agents to run across different environments and sees Kubernetes as a way to manage them at scale. She describes a possible workplace setup with a shared, approved baseline of MCP servers, authentication, team skills, and work data access that employees can personalize. A colleague at NVIDIA told her that about 10 engineers run OpenClaw agents in Kubernetes to check model evaluations, helping the team spend more time on creative work.

A container installer in practice

Sally demonstrates an installer she built for herself, showing a local Podman setup with a named instance, port configuration, secret mappings, model providers, and an optional SSH sandbox for running commands in a workspace. She starts an instance called Joe and shows its logs and generated Podman command. The installer also connects to a kind cluster or OpenShift, where she shows other OpenClaw instances running.

Takeaways

  • Package an agent's tools and configuration in a mounted directory so the setup is ready at startup.
  • Keep API keys in container or Kubernetes secret stores and pass references into the application.
  • Persist agent state in volumes and include those volumes in a regular backup plan.
  • Develop locally, then move the same containerized workload to Kubernetes when the use case needs it.
  • A team baseline of approved tools, access, and skills can make onboarding more consistent while leaving room for personal settings.

Mentioned in this talk

Search inside this talk

What was claimed 10

Related talks