1
0
mirror of https://github.com/docker/cli.git synced 2025-04-24 16:07:01 +03:00
cli/docs/reference/commandline/context_use.md
Sebastiaan van Stijn 803b9071e7
docs: fix, and touch-up "docker context" docs
Using `/var/run/docker.sock` as docker host is invalid, and causes
an error, so adding `unix://` to it.

In addition, we document the name of the context to go after the
options, so change the order in the examples.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-07 13:53:25 +02:00

448 B

title, description, keywords
title description keywords
context use The context use command description and usage context, use

context use

Usage:  docker context use CONTEXT

Set the current docker context

Description

Set the default context to use, when DOCKER_HOST, DOCKER_CONTEXT environment variables and --host, --context global options are not set. To disable usage of contexts, you can use the special default context.