DOCKER(1)

✨ NAME ✨

docker-stack-ls β€” bestie, this one lists your stacks πŸ’… (yes, that's it, that's the whole job, and it does it flawlessly)

Welcome to the Docker User Manuals, pookie 🫢 this page is your little cheat sheet, and I promise it's not gonna be giving "boring wall of text" energy.


🌸 SYNOPSIS 🌸

docker stack ls [OPTIONS]

That's the whole vibe. Command, ls, optional flags. Chef's kiss πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

List stacks. πŸŽ€

Like... it lists your stacks. That's the assignment, and it ate. No cap, no notes. ✨


πŸ’– OPTIONS πŸ’–

  • --format="" β€” okay so this is your glow-up button for the output 🌈 It formats the output using a custom template, and you've got options, bestie:
    • 'table' β€” prints the output in table format with column headers. This is the default, so if you say nothing, this is what you get. Main character energy by default fr fr.
    • 'table TEMPLATE' β€” prints the output in table format, but using the given Go template. So table vibes, your rules πŸ’…
    • 'json' β€” prints in JSON format. For when you wanna feed it to something else, iykyk πŸ“
    • 'TEMPLATE' β€” prints output using the given Go template. Full customization mode, go off πŸ‘‘
Also, if you wanna know more about formatting output with templates, go peek at https://docs.docker.com/go/formatting/ β€” it's literally the official spot for that ✨

πŸ‘‘ SEE ALSO πŸ‘‘


Okay that's the page!! Every flag, every format, every default, all of it, preserved with love πŸ’œ Now go list some stacks and slay πŸ’…βœ¨

Much love from the Docker Community, and this lil' cutie is dated Oct 2026 β€” stay iconic, bestie πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from