diff --git a/pages/common/docker-context.md b/pages/common/docker-context.md index b48c0b2878fd67..dc6ee2773387f7 100644 --- a/pages/common/docker-context.md +++ b/pages/common/docker-context.md @@ -3,17 +3,17 @@ > Lets you switch between contexts to manage multiple Docker environments. > More information: . -- Create context using a specific Docker endpoint: +- Create a context using a specific Docker endpoint: -`docker context create my-context --docker "host=tcp://remote-host:2375"` +`docker context create {{my_context}} --docker "host={{tcp://remote-host:2375}}"` -- Create based on DOCKER_HOST environment variable: +- Create a context based on the `DOCKER_HOST` environment variable: -`docker context create my-context` +`docker context create {{my_context}}` - Switch to a context: -`docker context use my-context` +`docker context use {{my_context}}` - List all contexts: