podman-farm-list − List the existing farms
podman farm list [options]
podman farm ls [options]
List all the existing farms.
Change the default output format. This can be of a supported type like ’json’ or a Go template. Valid placeholders for the Go template listed below:
List all farms:
$ podman farm
list
Name Connections Default ReadWrite
farm1 [f38 f37] false true
farm2 [f37] true true
Show farms in JSON format:
$ podman farm
list --format json
[
{
"Name": "farm1",
"Connections": [
"f38",
"f37"
],
"Default": false,
"ReadWrite": true
},
{
"Name": "farm2",
"Connections": [
"f37"
],
"Default": true,
"ReadWrite": true
}
]
Show only farm names:
$ podman farm
list --format "{{.Name}}"
farm1
farm2
Show detailed farm information:
$ podman farm
list --format "Farm: {{.Name}} (Default: {{.Default}},
ReadWrite: {{.ReadWrite}})\nConnections:
{{.Connections}}"
Farm: farm1 (Default: false, ReadWrite: true)
Connections: [f38 f37]
Farm: farm2 (Default: true, ReadWrite: true)
Connections: [f37]
podman(1), podman-farm(1)
July 2023, Originally compiled by Urvashi Mohnani (umohnani at redhat dot com)