<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Podman on Home</title><link>/tags/podman/</link><description>Recent content in Podman on Home</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 14 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/podman/" rel="self" type="application/rss+xml"/><item><title>Tank OS: Running OpenClaw locally in a safe and open way</title><link>/2026/tank-os-running-openclaw-locally-in-a-safe-and-open-way/</link><pubDate>Sun, 14 Jun 2026 00:00:00 +0000</pubDate><guid>/2026/tank-os-running-openclaw-locally-in-a-safe-and-open-way/</guid><description>&lt;figure&gt;&lt;img src="/images/posts/post_37/overview.png"data-src="/images/posts/post_37/overview.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;Tank OS packages OpenClaw as a rootless Podman workload inside a Fedora bootc VM - AI generated&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In this post, I want to describe how to run OpenClaw on a laptop using &lt;a href="https://github.com/LobsterTrap/tank-os"&gt;Tank OS&lt;/a&gt;, a Fedora bootc image that packages OpenClaw as a rootless workload inside an immutable operating system. This is a different path from the approach in the previous post on &lt;a href="/2026/deploying-openclaw-on-openshift/"&gt;Deploying OpenClaw on OpenShift&lt;/a&gt;. Tank OS runs on a regular machine through a virtual machine. The result is the same agent, running locally without any cluster dependency.&lt;/p&gt;
&lt;h2 id="what-is-tank-os"&gt;What is Tank OS&lt;/h2&gt;
&lt;p&gt;Tank OS was created by &lt;a href="https://github.com/sallyom"&gt;Sally O&amp;rsquo;Malley&lt;/a&gt;, a principal software engineer at Red Hat and one of the OpenClaw maintainers. The project was published in April 2026, shortly after OpenClaw&amp;rsquo;s rise to the most-starred software repository in GitHub&amp;rsquo;s history. In the &lt;a href="https://techcrunch.com/2026/04/28/red-hats-openclaw-maintainer-just-made-enterprise-claw-deployments-a-lot-safer/"&gt;TechCrunch article&lt;/a&gt; that accompanied the release, O&amp;rsquo;Malley was direct about the risk: OpenClaw is &amp;ldquo;an incredibly powerful application&amp;rdquo; but one that can be &amp;ldquo;dangerous&amp;rdquo; without proper configuration. &amp;ldquo;It&amp;rsquo;s not a tool that you can use easily unless you do have some sort of technical experience,&amp;rdquo; she said. Tank OS is her response to that gap.&lt;/p&gt;
&lt;p&gt;Tank OS packages OpenClaw inside a Fedora bootc image, which is a complete Linux operating system distributed as a container image. You do not install Tank OS on top of your existing OS. Instead, you build a QCOW2 disk image from the bootc image and boot it in a virtual machine. OpenClaw runs inside that VM as a rootless Podman container, isolated from the host.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;The following steps have been tested on a Apple Silicon MacBook. Before starting, the following must be in place:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Homebrew&lt;/strong&gt; - the package manager for macOS, used to install QEMU&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;QEMU&lt;/strong&gt; version 11 or later - the open source machine emulator used to run the Tank OS virtual machine: &lt;code&gt;brew install qemu&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Podman&lt;/strong&gt; version 5 or later — the container engine used by the smoke-test script to pull the Tank OS image and run &lt;code&gt;bootc-image-builder&lt;/code&gt; to produce the QCOW2 disk image&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;An SSH key pair&lt;/strong&gt; at &lt;em&gt;~/.ssh/&lt;/em&gt;. The Tank OS image locks the default user&amp;rsquo;s password, so this key is the only way in.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you do not have a key at that path, generate one:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ssh-keygen -t ed25519 -f ~/.ssh/github -C &lt;span class="s2"&gt;&amp;#34;tank-os&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;The entry point to Tank OS is slightly unconventional, and worth explaining before running anything.&lt;/p&gt;
&lt;p&gt;Rather than providing a traditional setup script, the &lt;a href="https://github.com/LobsterTrap/tank-os"&gt;Tank OS GitHub repository&lt;/a&gt; includes an agent prompt at the bottom of its README. The idea is that you copy that prompt, paste it into a coding agent such as Claude Code, and the agent handles the bootstrap: it clones the repository, inspects the structure, and produces the &lt;code&gt;smoke-test.sh&lt;/code&gt; script that drives the actual workflow. Instead of reading through setup instructions and editing configuration by hand, you hand the prompt to the agent and get a runnable script back.&lt;/p&gt;
&lt;p&gt;This is an uncommon way to explore a new project. The approach makes sense here because the setup involves several environment-specific details, including QEMU firmware paths, the difference between rootful and rootless Podman, and SSH key locations. An agent can adapt these to your machine setup without requiring manual edits to a configuration file.&lt;/p&gt;
&lt;h2 id="building-booting-and-running-openclaw"&gt;Building, Booting, and Running OpenClaw&lt;/h2&gt;
&lt;p&gt;Once the agent has produced the &lt;code&gt;smoke-test.sh&lt;/code&gt; script, the rest of the workflow runs through that script in four phases.&lt;/p&gt;
&lt;h3 id="phase-1-building-the-disk-image"&gt;Phase 1: Building the Disk Image&lt;/h3&gt;
&lt;p&gt;First, make sure the default Podman machine is running:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;podman machine init
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;podman machine start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then run the build phase:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./smoke-test.sh build
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This phase does several things automatically. It reads your SSH public key from &lt;code&gt;~/.ssh/github.pub&lt;/code&gt; and writes a &lt;code&gt;config.json&lt;/code&gt; file that embeds the key into the disk image at build time. Without this step, the VM boots with no login path because the &lt;code&gt;openclaw&lt;/code&gt; user password is locked in the default image.&lt;/p&gt;
&lt;p&gt;Next, the script establishes a rootful Podman connection, required by the &lt;em&gt;bootc-image-builder&lt;/em&gt; to write to the container storage, pulls the Tank OS image into the rootful store, and runs the &lt;em&gt;bootc-image-builder&lt;/em&gt; as a privileged container to produce the QCOW2 disk image.&lt;/p&gt;
&lt;p&gt;The output is then resized to 20 GB. The default 10 GB is not enough once the 3.5 GB OpenClaw container image and the OS are both on disk.&lt;/p&gt;
&lt;p&gt;The build takes a few minutes. When it finishes, the QCOW2 file is in the output directory &lt;em&gt;out-tank-os&lt;/em&gt;, ready to boot.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_37/build_step.png"data-src="/images/posts/post_37/build_step.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;Terminal output once the build step completes.&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h3 id="phase-2-starting-the-vm"&gt;Phase 2: Starting the VM&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./smoke-test.sh vm
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This starts QEMU with Apple&amp;rsquo;s Hypervisor Framework for acceleration, four virtual CPUs, 4 GB of RAM, and port forwarding from &lt;code&gt;localhost:2222&lt;/code&gt; to port 22 inside the VM. The VM boots using the UEFI firmware that Homebrew installs alongside QEMU.&lt;/p&gt;
&lt;p&gt;The terminal shows the VM console as the OS starts. The OpenClaw Podman service launches automatically as a systemd user unit.&lt;/p&gt;
&lt;h3 id="phase-3-connecting-to-openclaw"&gt;Phase 3: Connecting to OpenClaw&lt;/h3&gt;
&lt;p&gt;Open a second terminal and wait for the VM&amp;rsquo;s SSH daemon to accept connections, then log in:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;until&lt;/span&gt; ssh -o &lt;span class="nv"&gt;ConnectTimeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;3&lt;/span&gt; -o &lt;span class="nv"&gt;StrictHostKeyChecking&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;no &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -i ~/.ssh/github -p &lt;span class="m"&gt;2222&lt;/span&gt; openclaw@localhost &lt;span class="nb"&gt;true&lt;/span&gt; 2&amp;gt;/dev/null&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;Waiting for VM...&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; sleep &lt;span class="m"&gt;5&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;done&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ssh -o &lt;span class="nv"&gt;StrictHostKeyChecking&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;no -i ~/.ssh/github -p &lt;span class="m"&gt;2222&lt;/span&gt; openclaw@localhost
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Once logged into the VM, verify the agent is running with:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;podman ps
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure&gt;&lt;img src="/images/posts/post_37/vm_connection.png"data-src="/images/posts/post_37/vm_connection.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;Terminal output shows OpenClaw running as Podman container inside the Fedora VM&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Once inside the VM, retrieve the gateway authentication token:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;jq -r &lt;span class="s1"&gt;&amp;#39;.gateway.auth.token&amp;#39;&lt;/span&gt; ~/.openclaw/openclaw.json
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If the command returns nothing, generate a token first, then repeat:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;openclaw doctor --generate-gateway-token
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In a third terminal, open the SSH tunnel so the OpenClaw web interface is reachable from your browser:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ssh -N -o &lt;span class="nv"&gt;StrictHostKeyChecking&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;no -i ~/.ssh/github -p &lt;span class="m"&gt;2222&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -L 18789:127.0.0.1:18789 &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -L 18790:127.0.0.1:18790 &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; openclaw@localhost
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Open &lt;code&gt;http://127.0.0.1:18789&lt;/code&gt; in a browser. Paste the gateway token when prompted. The OpenClaw dashboard appears and the agent is ready.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_37/openclaw_gateway.png"data-src="/images/posts/post_37/openclaw_gateway.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;OpenClaw Gateway Dashboard running locally&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h3 id="adding-a-model-provider"&gt;Adding a Model Provider&lt;/h3&gt;
&lt;p&gt;Tank OS stores API keys as Podman secrets rather than in configuration files. From inside the VM, create a secret for your provider:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;%s&amp;#39;&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$ANTHROPIC_API_KEY&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; podman secret create anthropic_api_key -
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;%s&amp;#39;&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$OPENAI_API_KEY&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; podman secret create openai_api_key -
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;%s&amp;#39;&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$GEMINI_API_KEY&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; podman secret create gemini_api_key -
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;%s&amp;#39;&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$OPENROUTER_API_KEY&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; podman secret create openrouter_api_key -
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then sync it to the OpenClaw configuration and restart the service:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tank-openclaw-secrets
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;systemctl --user restart openclaw.service
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This updates the OpenClaw configuration and restarts the service.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_37/openclaw_dashboard.png"data-src="/images/posts/post_37/openclaw_dashboard.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;OpenClaw Dashboard running locally, configured to use Anthropic Claude Sonnet model&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Tank OS is a practical way to get OpenClaw running on a laptop without modifying the host system. The agent runs inside a virtual machine on an immutable Fedora base, which limits what a misconfigured agent can reach on the host. Updating is also clean: pull a new bootc image and reboot, and the system reflects the new state.&lt;/p&gt;
&lt;p&gt;For teams that already have OpenShift running, the claw-installer approach from the &lt;a href="/2026/deploying-openclaw-on-openshift/"&gt;previous post&lt;/a&gt; is faster to deploy and integrates with cluster authentication out of the box. Tank OS is the right choice when you want a self-contained local setup that does not depend on a cluster, a cost-effective way to explore OpenClaw, or a portable environment to run a demo.&lt;/p&gt;
&lt;h2 id="references"&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Tank OS - GitHub repository - &lt;a href="https://github.com/LobsterTrap/tank-os"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Deploying OpenClaw on OpenShift - &lt;a href="/2026/deploying-openclaw-on-openshift/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Sally O&amp;rsquo;Malley - GitHub Profile - &lt;a href="https://github.com/sallyom"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Red Hat&amp;rsquo;s OpenClaw maintainer just made enterprise Claw deployments a lot safer - TechCrunch - &lt;a href="https://techcrunch.com/2026/04/28/red-hats-openclaw-maintainer-just-made-enterprise-claw-deployments-a-lot-safer/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Running the Red Hat AI Inference Server on OpenShift - &lt;a href="/2026/running-the-red-hat-ai-inference-server-on-openshift/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Fedora bootc documentation - &lt;a href="https://fedora.gitlab.io/bootc/docs/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>