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 π
docker-context(1)β go read the parent page, fr fr π«Ά
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
- alpine 3.24: docker-doc 29.9.2-r0 Β· Apache-2.0
- fedora 43: docker-cli 29.8.2-2.fc43
- fedora 43: docker-cli 29.9.2-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: docker-cli 29.8.2-2.fc44
- fedora 44: docker-cli 29.9.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms