DOCKER(1)
π DOCKER(1) π β aka the docker-context-create glow-up β¨
okay so bestie, this is a page from the Docker User Manuals set, and it's all about making a brand new context. yep. that's the whole vibe. let's get into it π«Ά
πΈ NAME πΈ
docker-context-create β Create a context π
β¨ SYNOPSIS β¨
docker context create [OPTIONS] CONTEXT
that's it. that's the whole thing. [OPTIONS] are optional (shocking, i know π), and CONTEXT is the name of the little guy you're creating π
π¦ DESCRIPTION π¦
Create a context. slay. that's literally what it does β¨
and now, the part everyone always forgets about β the Docker endpoint config. here's every field you can stuff into your endpoint, no cap:
fromβ Copy named context's Docker endpoint configuration πhostβ Docker endpoint on which to connectcaβ Trust certs signed only by this CAcertβ Path to TLS certificate filekeyβ Path to TLS key fileskip-tls-verifyβ Skip TLS certificate validation π©
lowkey be careful with skip-tls-verify bestie, that one is giving "i'm ignoring the vibe check" energy π
Example:
$ docker context create my-context --description "some description" --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file"
look at her go. icon. π
π OPTIONS π
--description=""β Description of the context. give it a little name tag, she deserves it π--docker=[]β set the docker endpoint. this is where the whole host/ca/cert/key situation goes π₯--from=""β create context from a named context. copy someone else's whole fit, respectfully π
π SEE ALSO π
docker-context(1)β the rest of the context family, go say hi π«Ά
and that's the tea β Docker Community, version Oct 2026, DOCKER(1) β mwah, love u, go create a context bestie πβ¨π§
π¦ 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