docker context use
Description🔗
Set the current docker context
Usage🔗
$ docker context use CONTEXT
Extended 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.
Parent command🔗
Command | Description |
---|---|
docker context | Manage contexts |
Related commands🔗
Command | Description |
docker context create | Create a context |
docker context export | Export a context to a tar or kubeconfig file |
docker context import | Import a context from a tar or zip file |
docker context inspect | Display detailed information on one or more contexts |
docker context ls | List contexts |
docker context rm | Remove one or more contexts |
docker context update | Update a context |
docker context use | Set the current docker context |