podman-farm-list(1)

πŸ“¦
version 6.1.4 Β· 4 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

✨ podman-farm-list(1) β€” the manual page, but make it cute ✨

okay bestie, welcome to podman-farm-list(1) πŸ’– this is the glow-up of the classic General Commands Manual page, and we're gonna get you fluent in farm listing in like, two minutes. no cap.


🌸 NAME 🌸

podman-farm-list β€” List the existing farms πŸ’…

like literally just, showing you every farm you've got. that's the whole gig. iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

podman farm list [options]

podman farm ls [options]

so ls is the little sister of list and she works exactly the same, we love a shorthand queen πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

List all the existing farms. every single one. not a farm left behind 🫢


✨ OPTIONS ✨

  • --format=format β€” this is the glow-up button for your output ✨ swap the default output format for a supported type like 'json', or go full craft-mode with a Go template. and ooooh the valid placeholders for that Go template are right here, don't skip them bestie:
    • .Connections β€” List of all system connections in the farm πŸ”—
    • .Default β€” Indicates whether farm is the default πŸ‘‘
    • .Name β€” Farm name 🏷️
    • .ReadWrite β€” Indicates if this farm can be modified using the podman farm commands ✍️
heads up β€” those placeholder names are case-sensitive and exact, so type them character for character. no vibes-based guessing πŸ’€

🌈 EXAMPLE 🌈

List all farms:

$ podman farm list
Name        Connections  Default     ReadWrite
farm1       [f38 f37]    false       true
farm2       [f37]        true        true

look at that lil table, she's giving organized πŸ’…

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
  }
]

for my scripting girlies who need machine-readable slay πŸ”₯

Show only farm names:

$ podman farm list --format "{{.Name}}"
farm1
farm2

minimalism. main character energy. just the names, nothing else 🧚

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]

okay this one ATE β€” a whole custom template with a \n in it and everything 😭 obsessed.


πŸ’œ SEE ALSO πŸ’œ

podman(1), podman-farm(1)

go read those next, they're the extended universe 🫢


πŸ“œ HISTORY πŸ“œ

July 2023, Originally compiled by Urvashi Mohnani (umohnani at redhat dot com) β€” thank you queen for the lore πŸ‘‘


and that's the whole page bestie!! πŸŽ€ this was podman-farm-list(1), compiled July 2023, and you absolutely understood all of it. periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from