podman-quadlet-list - Man Page

List installed quadlets (alias ls)

Synopsis

podman quadlet list [options]

Description

List all Quadlets configured for the current user.

Options

--filter, -f=filter

Filter output based on conditions give.

If there is more than one filter, the --filter option should be passed multiple times: --filter name=test --filter status=active/running.

Supported filters:

FilterDescription
nameFilter by quadlet name
statusFilter by quadlet status. Valid values: Not loaded, active/running, inactive/dead, failed/failed, activating/start, deactivating/stop
podFilter by the Pod= value (displays only for .container units)

--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 -}}")

Print results with a Go template.

PlaceholderDescription
.AppName of application if Quadlet is part of an app
.NameName of the Quadlet file
.PathQuadlet file path on disk
.PodPod quadlet file from Pod= in [Container] (empty if not set)
.StatusQuadlet status corresponding to systemd unit
.UnitNameSystemd 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

podman(1), podman-quadlet(1), podman-systemd.unit(5)

Referenced By

podman-quadlet(1).

The man page docker-quadlet-list(1) is an alias of podman-quadlet-list(1).