SkillAgentSearch skills...

Nspawn

A wrapper around machinectl for easy-deployment of nspawn.org containers

Install / Use

/learn @nspawn/Nspawn
About this skill

Quality Score

0/100

Category

Operations

Supported Platforms

Universal

README

nspawn

A wrapper around machinectl for easy-deployment of https://nspawn.org images.

How to use it

nspawn {COMMAND} [PARAMETER]

Wrapper around systemd-machined and https://nspawn.org

Commands:
  --init                Initializes an image for systemd-machined  
                        with the following parameters: <distribution>/<release>/<type>
  --list                Lists all available images
  --help                Prints this help message

Parameters:
  <distribution>	One out of (archlinux,centos,debian,fedora,ubuntu)
  <release>             The release of the distribution
  <type>                One out of (raw,tar)

On the first start nspawn will try to set up the /etc/systemd/import-pubring.gpg keyring.
nspawn will create the keyring and search for the https://nspawn.org master key.
After keyring generation you can start using nspawn.

You can use nspawn --init <distribution>/<release>/<type> to pull an image.
nspawn --list will print a list of all available images.

Examples

nspawn --init fedora/34/tar will pull a tar archive with a fedora 34 directory.
You can instantly start it via machinectl start fedora-34-tar.

Related Skills

View on GitHub
GitHub Stars108
CategoryOperations
Updated18d ago
Forks9

Languages

Shell

Security Score

95/100

Audited on Mar 20, 2026

No findings