From 2484a30534e1322d5ad333fd5c0f5f0ef038dc98 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 29 Sep 2020 21:59:36 +0200 Subject: [PATCH] docs: fix generated YAML due to trailing whitespace If a file contains trailing whitespace, the YAML generator uses a compact format, which is hard to read. Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/context_create.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/context_create.md b/docs/reference/commandline/context_create.md index 1902986bbf..ac5fb75500 100644 --- a/docs/reference/commandline/context_create.md +++ b/docs/reference/commandline/context_create.md @@ -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: