Create a named context that targets a specific Docker endpoint.
Section: Contexts and Trust
Create a context
bash
bash
docker context create prod --docker host=ssh://user@serverExplanation
Very convenient for operating remote engines over SSH.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Contexts and Trust