portablectl
Manage systemd portable service images
TLDR
TLDR
List portable service images
SYNOPSIS
portablectl [list|attach|detach|inspect|is-attached] [options] [image]
DESCRIPTION
portablectl manages systemd portable service images. Portable services are a lightweight container alternative, bundling services with their dependencies in disk images that can be attached to running systems.
Images are self-contained and can include multiple services. They're useful for deploying applications without full containerization overhead.
PARAMETERS
--copy _mode_
Copy mode: auto, copy, symlink--profile _profile_
Use specific profile--now
Start/stop units immediately--enable
Enable units after attach
COMMANDS
list
List discovered portable service imagesattach
Attach image to systemdetach
Detach image from systeminspect
Show image details and metadatais-attached
Check attachment statusreattach
Detach and reattach image
CAVEATS
Requires systemd 239+. Images must follow portable service format. Attachment requires root privileges. Profile controls sandboxing level.
HISTORY
portablectl was introduced with systemd portable services as a lightweight containerization solution. It provides isolation benefits while maintaining tight integration with the systemd service manager.
SEE ALSO
systemctl(1), machinectl(1), systemd-nspawn(1)
