← All projects
Project record1 mention
Originally shared on Hacker News

Rootless systemd-nspawn lab environment

This setup spawns container images (fetched via skopeo) as rootless systemd-nspawn machines running in userland, with networking managed by a service that uses netkit devices to set up networks in empty network namespaces and Sommelier handling Wayland. The end goal is a laptop with an easy, secure, rootless way to build lab environments.

Last shared For Local lab environments built on the author's own laptop
01 / The problem

What it addresses

Building lab environments on a laptop that are easy to create, secure, and rootless

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Rootless systemd-nspawn lab environment

    This setup spawns container images (fetched via skopeo) as rootless systemd-nspawn machines running in userland, with networking managed by a service that uses netkit devices to set up networks in empty network namespaces and Sommelier handling Wayland. The end goal is a laptop with an easy, secure, rootless way to build lab environments.

    Problem: Building lab environments on a laptop that are easy to create, secure, and rootless

    Audience: Local lab environments built on the author's own laptop

    Posted by @isodude · Original source ↗

    Source text · @isodude · · Source ↗

    I am trying to build a local setup where I spawn dockers (fetched via skopeo) as systemd-nspawn machines in userland (rootless), with network managed by a service that uses netkit devices to setup network in their empty network namespaces.