mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
844 B
Plaintext
30 lines
844 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# portablectl
|
|
|
|
> A systemd utility for managing and deploying portable service images on Linux systems.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/portablectl.html>.
|
|
|
|
- List available portable service images discovered in the portable image search paths:
|
|
|
|
`portablectl list`
|
|
|
|
- Attach a portable service image to the host system:
|
|
|
|
`portablectl attach {{path/to/image}}`
|
|
|
|
- Detach a portable service image from the host system:
|
|
|
|
`portablectl detach {{path/to/image|image_name}}`
|
|
|
|
- Display details and metadata about a specified portable service image:
|
|
|
|
`portablectl inspect {{path/to/image}}`
|
|
|
|
- Check if a portable service image is attached to the host system:
|
|
|
|
`portablectl is-attached {{path/to/image|image_name}}`
|