DOCKER(1)

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

ok so bestie, welcome to the Docker User Manuals β€” this one's all about peeking at your contexts and it's honestly so slay. let's get into it 🫢


✨ NAME ✨

docker-context-ls β€” the little command that lists your contexts. that's it. that's the whole job. iconic behavior πŸ’…


🌸 SYNOPSIS 🌸

docker context ls [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

List contexts ✨

yes queen, that's literally it. you run it, it shows you your contexts. no cap, no drama, just vibes 🌈


πŸŽ€ OPTIONS πŸŽ€

  • --format="" β€” format the output with a custom template, and there are so many ways to do it:
    • 'table': prints your output in table format with column headers β€” this is the default, bestie, it's giving organized πŸ’–
    • 'table TEMPLATE': prints in table format using the Go template you gave it
    • 'json': prints in JSON format, for when you're feeling ✨structured✨
    • 'TEMPLATE': prints output using the given Go template
    • and if you wanna know more about formatting output with templates, go look at https://docs.docker.com/go/formatting/ β€” it's all there, iykyk πŸ“š
  • -q, --quiet[=false] β€” only show the context names. that's it. minimal. clean. main character energy πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie!! this was the Docker Community edition, dated Oct 2026 β€” love that for us. now go list some contexts, you absolute legend πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from