mirror of https://github.com/docker/cli.git
Merge pull request #2759 from thaJeztah/fix_yaml_gen
docs: fix generated YAML due to trailing whitespace
This commit is contained in:
commit
88c6089300
|
@ -66,7 +66,7 @@ sourced from the file `/home/me/my-kube-config`:
|
|||
$ docker context create \
|
||||
--docker host=unix:///var/run/docker.sock \
|
||||
--kubernetes config-file=/home/me/my-kube-config \
|
||||
my-context
|
||||
my-context
|
||||
```
|
||||
|
||||
### Create a context based on an existing context
|
||||
|
@ -76,7 +76,7 @@ an existing context. The example below creates a new context named `my-context`
|
|||
from the existing context `existing-context`:
|
||||
|
||||
```bash
|
||||
$ docker context create --from existing-context my-context
|
||||
$ docker context create --from existing-context my-context
|
||||
```
|
||||
|
||||
If the `--from` option is not set, the `context` is created from the current context:
|
||||
|
|
Loading…
Reference in New Issue