<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr" -->

---
title: Yak-Shaving netlab Podman Support « ipSpace.net blog
description: A behind-the-scenes account of adding real Podman support to the network-simulation tool netlab, after an old documentation remark claiming Podman support...
canonical: https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Yak-Shaving netlab Podman Support « ipSpace.net blog | daily.dev
og:description: A behind-the-scenes account of adding real Podman support to the network-simulation tool netlab, after an old documentation remark claiming Podman support...
og:url: https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr
og:image: https://api.daily.dev/og/posts/s4RWNwdcR.png
og:image:alt: Yak-Shaving netlab Podman Support « ipSpace.net blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Yak-Shaving netlab Podman Support « ipSpace.net blog

**[ipSpace.net Blog](https://daily.dev/sources/ipspace)** · 4 min read · 0 upvotes · 0 comments

## Summary

A behind-the-scenes account of adding real Podman support to the network-simulation tool netlab, after an old documentation remark claiming Podman support turned out to be broken. The author traces the yak-shaving journey: containerlab's Docker socket checks, a broken sudo-rs release that killed the CLAB_RUNTIME environment variable trick, switching to containerlab's sudoless clab_admins group operation, adding a 'netlab install podman' helper, and fixing Podman's differing JSON output and DNS resolver behavior versus Docker. The fixes ship in the upcoming netlab release planned for early September 2026, with a dev-version install available in the meantime.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.ipspace.net/2026/08/yak-shaving-netlab-podman-support>

## Questions this post answers

### Why doesn't the CLAB_RUNTIME environment variable work to run containerlab with Podman on newer Ubuntu versions?

A change in sudo behavior (from the sudo-rs reimplementation) breaks passing the CLAB_RUNTIME environment variable through sudo on recent Ubuntu systems, so containerlab still checks for a Docker socket and fails. The workaround is to use containerlab's sudoless operation mode, which requires the user to be a member of the clab_admins group.

_Track infrastructure tooling quirks like sudo and container runtime changes on daily.dev before they break your lab setup._

### How do I run netlab labs using Podman instead of Docker with containerlab?

Netlab now supports Podman via a dedicated install script (netlab install podman) and by removing sudo from containerlab start commands, relying on containerlab's sudoless mode with the clab_admins group. Because Podman only lets the launching user see a container, and containerlab must start containers as root, Podman-based labs currently need to run as root to let a regular user connect to lab devices.

_daily.dev helps engineers evaluating container runtimes like Podman stay ahead of tooling gotchas._

### What Podman-specific bugs were fixed in the netlab container lab tooling?

Two Podman compatibility bugs were addressed: Podman's Docker-like CLI produces JSON output that doesn't exactly match Docker's, breaking parsing logic, and Podman uses the host's DNS resolver rather than Docker's built-in DNS server when writing a container's /etc/resolv.conf, breaking DNS client configuration. Both fixes are included in netlab's release planned for early September 2026, with the dev version available sooner.

_Developers debugging Docker-versus-Podman quirks can follow fixes like these on daily.dev as they ship._

## Similar posts on daily.dev

- [Networking Aspects of Running VMs in Containers « ipSpace.net blog](https://daily.dev/posts/networking-aspects-of-running-vms-in-containers-ipspace-net-blog-gttjndloc) · ipSpace.net Blog · 0 upvotes · 0 comments
- [You Should be Using Rootless Containers](https://daily.dev/posts/you-should-be-using-rootless-containers-dotgwufuc) · Miguel Grinberg · 0 upvotes · 0 comments
- [What's new in Red Hat build of Podman Desktop 1.2](https://daily.dev/posts/what-s-new-in-red-hat-build-of-podman-desktop-1-2-et3wrur5k) · Red Hat Developer · 0 upvotes · 0 comments
- [Medium](https://daily.dev/posts/medium-da7qpul9i) · Medium · 0 upvotes · 0 comments

---

Tags: [#docker](https://daily.dev/tags/docker), [#networking](https://daily.dev/tags/networking)

[View this post on daily.dev](https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Yak-Shaving netlab Podman Support « ipSpace.net blog","url":"https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr"},"datePublished":"2026-08-27T05:35:57.287Z","dateModified":"2026-08-27T05:36:24.273Z","description":"A behind-the-scenes account of adding real Podman support to the network-simulation tool netlab, after an old documentation remark claiming Podman support...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"ipSpace.net Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ipSpace.net Blog","logo":"https://media.daily.dev/image/upload/s--xS7E82MT--/f_auto,q_auto/v1786438303/logos/ipspace?_a=BAMAMicg0","url":"https://daily.dev/sources/ipspace"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"docker,networking","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ipSpace.net Blog","item":"https://daily.dev/sources/ipspace"},{"@type":"ListItem","position":3,"name":"Yak-Shaving netlab Podman Support « ipSpace.net blog"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/yak-shaving-netlab-podman-support-ipspace-net-blog-s4rwnwdcr#faq","mainEntity":[{"@type":"Question","name":"Why doesn't the CLAB_RUNTIME environment variable work to run containerlab with Podman on newer Ubuntu versions?","acceptedAnswer":{"@type":"Answer","text":"A change in sudo behavior (from the sudo-rs reimplementation) breaks passing the CLAB_RUNTIME environment variable through sudo on recent Ubuntu systems, so containerlab still checks for a Docker socket and fails. The workaround is to use containerlab's sudoless operation mode, which requires the user to be a member of the clab_admins group. Track infrastructure tooling quirks like sudo and container runtime changes on daily.dev before they break your lab setup."}},{"@type":"Question","name":"How do I run netlab labs using Podman instead of Docker with containerlab?","acceptedAnswer":{"@type":"Answer","text":"Netlab now supports Podman via a dedicated install script (netlab install podman) and by removing sudo from containerlab start commands, relying on containerlab's sudoless mode with the clab_admins group. Because Podman only lets the launching user see a container, and containerlab must start containers as root, Podman-based labs currently need to run as root to let a regular user connect to lab devices. daily.dev helps engineers evaluating container runtimes like Podman stay ahead of tooling gotchas."}},{"@type":"Question","name":"What Podman-specific bugs were fixed in the netlab container lab tooling?","acceptedAnswer":{"@type":"Answer","text":"Two Podman compatibility bugs were addressed: Podman's Docker-like CLI produces JSON output that doesn't exactly match Docker's, breaking parsing logic, and Podman uses the host's DNS resolver rather than Docker's built-in DNS server when writing a container's /etc/resolv.conf, breaking DNS client configuration. Both fixes are included in netlab's release planned for early September 2026, with the dev version available sooner. Developers debugging Docker-versus-Podman quirks can follow fixes like these on daily.dev as they ship."}}]}
```

