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>
19 lines
387 B
Markdown
19 lines
387 B
Markdown
---
|
|
title: "context import"
|
|
description: "The context import command description and usage"
|
|
keywords: "context, import"
|
|
---
|
|
|
|
# context import
|
|
|
|
```markdown
|
|
Usage: docker context import [OPTIONS] CONTEXT FILE|-
|
|
|
|
Import a context from a tar file
|
|
```
|
|
|
|
## Description
|
|
|
|
Imports a context previously exported with `docker context export`. To import
|
|
from stdin, use a hyphen (`-`) as filename.
|