1
0
mirror of https://github.com/docker/cli.git synced 2025-08-27 13:42:00 +03:00
Files
cli/docs/reference/commandline/context_export.md
Sebastiaan van Stijn 039018b6d3 docs: remove deprecated orchestrator flags
Removes the flags that have been deprecated or removed;

- --default-stack-orchestrator
- --kubernetes
- --kubeconfig
- --namespace
- --orchestrator

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-02-24 12:28:29 +01:00

25 lines
550 B
Markdown

---
title: "context export"
description: "The context export command description and usage"
keywords: "context, export"
---
# context export
```markdown
Usage: docker context export [OPTIONS] CONTEXT [FILE|-]
Export a context to a tar archive FILE or a tar stream on STDOUT.
```
## Description
Exports a context to a file that can then be used with `docker context import`.
The default output filename is `<CONTEXT>.dockercontext`. To export to `STDOUT`,
use `-` as filename, for example:
```console
$ docker context export my-context -
```