DOCKER(1)

πŸ’– DOCKER(1) β€” Docker User Manuals πŸ’–

okay bestie, welcome to the Docker User Manuals β€” yes that's the whole manual name, we're fancy like that. today's episode: docker service ls. it's giving "list my services, please and thank you". let's go 🫢


✨ NAME ✨

docker-service-ls β€” list services. that's it. that's the whole job. she's simple, she's iconic, she ate πŸ’…


🌸 SYNOPSIS 🌸

docker service ls [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

List services.

no cap, that's literally the entire description. short queen behavior. but the options?? the options are where the main character energy lives, so keep scrolling πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -f, --filter= β€” filter the output based on conditions provided. you want specific services? say less, bestie.
  • --format="" β€” format the output using a custom template. here's the whole menu of vibes you can pick from:
    • 'table' β€” print output in table format with column headers. this is the default, so it's the one already serving looks when you don't say anything.
    • 'table TEMPLATE' β€” print output in table format using the given Go template. table, but make it yours.
    • 'json' β€” print in JSON format. for when you want your data in the little curly braces πŸ₯°
    • 'TEMPLATE' β€” print output using the given Go template. just raw template, no table wrapper.

want the full lore on formatting output with templates? go read https://docs.docker.com/go/formatting/ β€” it's right there in the original, I'm not gatekeeping 🫢

  • -q, --quiet[=false] β€” only display IDs. no names, no extras, no small talk. just IDs. silent but deadly πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

docker-service(1)


and that's the page, periodt πŸ’œ the source is Docker Community, the version stamp says Oct 2026, and the title up top is DOCKER(1) if you were wondering what to call her. go list some services, bestie, you got this βœ¨πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from