Logo
Explore Help
Sign In
1berry/docker-cli
1
0
Fork 0
You've already forked docker-cli
Code Issues Packages Projects Releases Wiki Activity
docker-cli/docs/reference/commandline/context_import.md

19 lines
387 B
Markdown
Raw Normal View History

Fast Context Switch: commands Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2018-11-09 15:10:41 +01:00
---
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
Context Switch: documentation alignment Last batch of modifications to the context switch implementation missed some documentation updates. This is an update to the CLI reference and the store implementation Godoc. Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-01-16 09:36:09 +01:00
```
## Description
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
Imports a context previously exported with `docker context export`. To import
from stdin, use a hyphen (`-`) as filename.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 375ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API