podman-quadlet-list(1)

πŸ“¦
version 6.1.4 Β· 3 versions
, in arch rolling

πŸ¦‹ podman-quadlet-list(1) πŸ¦‹

okay so this is the General Commands Manual page for podman-quadlet-list, bestie β€” it's your go-to for listing quadlets, and yes, it has a cute alias. πŸ’…

✨ NAME ✨

podman-quadlet-list β€” List installed quadlets (alias ls)

🌸 SYNOPSIS 🌸

podman quadlet list [options]

πŸŽ€ DESCRIPTION πŸŽ€

List all Quadlets configured for the current user. That's literally it: every quadlet set up for the current user, listed out for you. 🫢

πŸ”₯ OPTIONS πŸ”₯

  • --filter, -f=filter β€” filters the output based on the conditions you give it. If there's more than one filter, pass --filter multiple times: --filter name=test --filter status=active/running.

Supported filters:

  • name β€” filter by quadlet name
  • pod β€” filter by the Pod= value (displays only for .container units)
  • status β€” filter by quadlet status. Valid values: Not loaded, loaded template, active/running, inactive/dead, failed/failed, activating/start, deactivating/stop
  • --format=format β€” pretty-print output to JSON or using a Go template (default "{{range .}}{{.Name}}\t{{.UnitName}}\t{{.Path}}\t{{.Status}}\t{{.App}}\t{{.Pod}}\n{{end -}}"). Also prints results with a Go template.

Placeholders:

  • .App β€” name of application if Quadlet is part of an app
  • .Name β€” name of the Quadlet file
  • .Path β€” Quadlet file path on disk
  • .Pod β€” Pod quadlet file from Pod= in [Container] (empty if not set)
  • .Status β€” Quadlet status corresponding to systemd unit (Not loaded and loaded template are from podman, other values are from systemd)
  • .UnitName β€” systemd unit name corresponding to quadlet
  • --noheading, -n β€” omit the table headings from the listing.

🌈 EXAMPLES 🌈

Simple list command:

$ podman quadlet list
NAME                            UNIT NAME                     PATH ON DISK                                                          STATUS      APPLICATION  POD
test-service-quadlet.container  test-service-quadlet.service  /home/user/.config/containers/systemd/test-service-quadlet.container  Not loaded
sample-quadlet.container        sample-quadlet.service        /home/user/.config/containers/systemd/sample-quadlet.container        Not loaded               sample-quadlet.pod
sample-quadlet.pod              sample-quadlet-pod.service    /home/user/.config/containers/systemd/sample-quadlet.pod              Not loaded

Filter list by name:

$ podman quadlet list --filter 'name=test*'
NAME                             UNIT NAME                      PATH ON DISK                                                           STATUS      APPLICATION  POD
test-service-quadlet.container   test-service-quadlet.service   /home/user/.config/containers/systemd/test-service-quadlet.container   Not loaded
test-with-pod.container          test-with-pod.service          /home/user/.config/containers/systemd/test-with-pod.container          Not loaded               mypod.pod

Filter list by pod:

$ podman quadlet list --filter 'pod=mypod'
NAME                          UNIT NAME                    PATH ON DISK                                                         STATUS      APPLICATION  POD
test-with-pod-1.container     test-with-pod-1.service      /home/user/.config/containers/systemd/test-with-pod-1.container     Not loaded               mypod.pod
test-with-pod-2.container     test-with-pod-2.service      /home/user/.config/containers/systemd/test-with-pod-2.container     Not loaded               mypod.pod

Format list output for a specific field:

$ podman quadlet list --format '{{ .UnitName }}'
test-service-quadlet.service
sample-quadlet.service

πŸ’œ SEE ALSO πŸ’œ


That's the whole page from the General Commands Manual, bestie. The footer didn't give me a source/version/date to hype β€” just the same podman-quadlet-list(1) title β€” so this is your cute sign-off. bye! πŸ’–βœ¨πŸ’…

πŸ“¦ where this page comes from