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>
20 lines
306 B
Markdown
20 lines
306 B
Markdown
---
|
|
title: "context rm"
|
|
description: "The context rm command description and usage"
|
|
keywords: "context, rm"
|
|
---
|
|
|
|
# context rm
|
|
|
|
```markdown
|
|
Usage: docker context rm CONTEXT [CONTEXT...]
|
|
|
|
Remove one or more contexts
|
|
|
|
Aliases:
|
|
rm, remove
|
|
|
|
Options:
|
|
-f, --force Force the removal of a context in use
|
|
```
|