File: context_use.md

package info (click to toggle)
docker.io 20.10.24%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 60,800 kB
  • sloc: sh: 5,621; makefile: 593; ansic: 179; python: 162; asm: 7
file content (19 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: "context use"
description: "The context use command description and usage"
keywords: "context, use"
---

# context use

```markdown
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.