Oriel — AI & technology worth noticing, every day.

Nspawn 3.0: A Docker-compatible Engine API for systemd-nspawn containers

Web page · https://blog.nspawn.org/posts/nspawn-3-0-a-docker-compatible-engine-api-for-systemd-nspawn-containers

First seen by Oriel on .

AI summary

Nspawn 3.0 adds a host-accessible Docker Engine API for managing systemd-nspawn containers, enabling compatible tools such as Docker CLI and GitLab Runner to use nspawn machines.

  • The API listens on /run/nspawn/api.sock, is activated by systemd on first connection, and supports API versions 1.24 through 1.51.
  • It supports container lifecycle operations, attach and exec, file copies, image pulls, and volume and network management; unsupported operations return 501.
  • API access follows org.nspawn polkit permissions, and granting manage access effectively grants host-root capabilities because machines run commands as root and can mount host paths.
  • The API has resource bounds for connections and streams, with per-user shares that prevent non-root users from excluding root or one another.
  • Known gaps include image builds and pushes through the API, container renames and exports, swarm, and plugins; nspawn build remains available.

#systemd-nspawn #docker engine api #containers #gitlab runner

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Lobsters: 19, latest observation ; +18 over observed period since

Comments

Comment count reported by the source.

  • Lobsters: 5, latest observation ; +5 over observed period since

Aliases

SourceExternal IDURL
Lobsterslh0qbrhttps://blog.nspawn.org/posts/nspawn-3-0-a-docker-compatible-engine-api-for-systemd-nspawn-containers/ Read discussion