From 1c8cdff1e408eb9342be9539f3ade1419d2ede01 Mon Sep 17 00:00:00 2001 From: Usha Mandya Date: Thu, 3 Sep 2020 15:19:55 +0100 Subject: [PATCH] Fix extra space in Compose file ref --- _includes/content/compose-var-sub.md | 4 +++- compose/compose-file/index.md | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/content/compose-var-sub.md b/_includes/content/compose-var-sub.md index c88fb3d37c..a61156dfe9 100644 --- a/_includes/content/compose-var-sub.md +++ b/_includes/content/compose-var-sub.md @@ -60,4 +60,6 @@ web: If you forget and use a single dollar sign (`$`), Compose interprets the value as an environment variable and warns you: -`The VAR_NOT_INTERPOLATED_BY_COMPOSE is not set. Substituting an empty string.` +``` +The VAR_NOT_INTERPOLATED_BY_COMPOSE is not set. Substituting an empty string. +``` diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index 799ad044d7..056855b35a 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -580,7 +580,10 @@ format `file://` or `registry://`. When using `file:`, the referenced file must be present in the `CredentialSpecs` subdirectory in the Docker data directory, which defaults to `C:\ProgramData\Docker\` on Windows. The following example loads the credential spec from a file named -`C:\ProgramData\Docker\CredentialSpecs\my-credential-spec.json`: + +``` +C:\ProgramData\Docker\CredentialSpecs\my-credential-spec.json +``` ```yaml credential_spec: