2018-11-09 09:10:41 -05:00
|
|
|
---
|
|
|
|
title: "context import"
|
|
|
|
description: "The context import command description and usage"
|
|
|
|
keywords: "context, import"
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- This file is maintained within the docker/cli GitHub
|
|
|
|
repository at https://github.com/docker/cli/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
|
|
|
# context import
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker context import [OPTIONS] CONTEXT FILE|-
|
|
|
|
|
|
|
|
Import a context from a tar file
|
2019-01-16 03:36:09 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Imports a context previously exported with `docker context export`. To import from stdin, use a hyphen (`-`) as filename.
|