docker-cli/docs/reference/commandline/context_import.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

387 B

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

context import

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.