From ad45d2d936bd9fd1adae0dacf3a9392d576be44e Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 27 Jul 2022 14:25:57 +0100 Subject: [PATCH] lint: tidy spaces inside spans --- .mdlrc.style.rb | 3 +++ compose/compose-file/compose-file-v3.md | 2 +- compose/environment-variables.md | 2 +- compose/release-notes.md | 2 +- desktop/previous-versions/2.x-windows.md | 2 +- desktop/previous-versions/archive-mac.md | 2 +- desktop/previous-versions/edge-releases-mac.md | 4 ++-- engine/install/debian.md | 2 +- engine/release-notes/17.06.md | 2 +- engine/scan/index.md | 2 +- engine/security/rootless.md | 2 +- language/golang/configure-ci-cd.md | 2 +- language/golang/deploy.md | 2 +- language/golang/run-containers.md | 2 +- language/nodejs/configure-ci-cd.md | 2 +- network/ipvlan.md | 2 +- subscription/faq.md | 2 +- 17 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.mdlrc.style.rb b/.mdlrc.style.rb index 7ebd2a4c4c..eedeba62cf 100644 --- a/.mdlrc.style.rb +++ b/.mdlrc.style.rb @@ -8,3 +8,6 @@ rule 'no-multiple-space-atx' rule 'no-missing-space-closed-atx' rule 'no-multiple-space-closed-atx' rule 'hr-style' +rule 'no-space-in-emphasis' +rule 'no-space-in-code' +rule 'no-space-in-links' diff --git a/compose/compose-file/compose-file-v3.md b/compose/compose-file/compose-file-v3.md index 4736616586..323426c64f 100644 --- a/compose/compose-file/compose-file-v3.md +++ b/compose/compose-file/compose-file-v3.md @@ -2709,7 +2709,7 @@ this stack. The source of the secret is either `file` or `external`. supported when using `docker stack`. In this example, `my_first_secret` is created as -`_my_first_secret `when the stack is deployed, +`_my_first_secret` when the stack is deployed, and `my_second_secret` already exists in Docker. ```yaml diff --git a/compose/environment-variables.md b/compose/environment-variables.md index dd98474cc9..b3355c943b 100644 --- a/compose/environment-variables.md +++ b/compose/environment-variables.md @@ -122,7 +122,7 @@ services: image: 'webapp:v1.5' ``` -Passing the `--env-file ` argument overrides the default file path: +Passing the `--env-file` argument overrides the default file path: ```console $ docker compose --env-file ./config/.env.dev config diff --git a/compose/release-notes.md b/compose/release-notes.md index fb73815a5d..e0705d889b 100644 --- a/compose/release-notes.md +++ b/compose/release-notes.md @@ -156,7 +156,7 @@ For the full change log or additional information, check the [Compose repository ### Changes - Introduced support for `cache_from`, `cache_to`, `no_cache` and `pull` attributes in the build section. These attributes allow forcing a complete rebuild from sources and checking with registry for images used. These changes provide the basis for offering `--no-cache` and `--pull` options for compose build (or equivalent) command down the line. -- Introduced support of an `--ssh ` flag for the `build` command from CLI and Compose file. Fixes [#7025](https://github.com/docker/compose/issues/7025){:target="_blank" rel="noopener" class="_"}. +- Introduced support of an `--ssh` flag for the `build` command from CLI and Compose file. Fixes [#7025](https://github.com/docker/compose/issues/7025){:target="_blank" rel="noopener" class="_"}. - Fixed typo in `--ssh` flag description. Related to [#7025](https://github.com/docker/compose/issues/7025){:target="_blank" rel="noopener" class="_"}. - Pinned Kubernetes dependencies to the same version as in buildx. - Dependencies update: Bumped buildx to v0.8.1. to fix possible panic on handling build context scanning errors. diff --git a/desktop/previous-versions/2.x-windows.md b/desktop/previous-versions/2.x-windows.md index e4730ce6cc..e7d9b3ccb0 100644 --- a/desktop/previous-versions/2.x-windows.md +++ b/desktop/previous-versions/2.x-windows.md @@ -414,7 +414,7 @@ Docker Desktop 2.2.0.0 contains a Kubernetes upgrade. Your local Kubernetes clus - Users don't have to expose the Samba port, and therefore do not experience issues related to IT firewall or drive-sharing policy. - There is no need to provide user credentials to Docker Desktop. File access rights are automatically enforced when accessing mounted folders through containers. - For more information, see the blog post [ New file sharing implementation in Docker Desktop Windows](https://www.docker.com/blog/new-filesharing-implementation-in-docker-desktop-windows/). + For more information, see the blog post [New file sharing implementation in Docker Desktop Windows](https://www.docker.com/blog/new-filesharing-implementation-in-docker-desktop-windows/). - Added the **WSL Integration** option in **Settings** > **Resources** to select WSL 2 distributions. This option will be visible only after enabling WSL 2 on your machine. - Introduced a new user interface for the Docker Desktop **Settings** menu. diff --git a/desktop/previous-versions/archive-mac.md b/desktop/previous-versions/archive-mac.md index 7eeb76659e..30f8ad7346 100644 --- a/desktop/previous-versions/archive-mac.md +++ b/desktop/previous-versions/archive-mac.md @@ -349,7 +349,7 @@ This page contains release notes for older versions of Docker Desktop for Mac. - Resync HTTP(S) proxy settings on application start - Interpret system proxy setting of `localhost` correctly (see [docker/for-mac#1511](https://github.com/docker/for-mac/issues/1511)) - All Docker binaries bundled with Docker for Mac are now signed -- Display all Docker Cloud organizations and repositories in the whale menu (fixes [docker/for-mac#1538 ](https://github.com/docker/for-mac/issues/1538)) +- Display all Docker Cloud organizations and repositories in the whale menu (fixes [docker/for-mac#1538](https://github.com/docker/for-mac/issues/1538)) - OSXFS: improved latency for many common operations, such as read and write, by approximately 25% - Fixed GUI crash when text table view was selected and windows re-opened (fixes [docker/for-mac#1477](https://github.com/docker/for-mac/issues/1477)) - Reset to default / uninstall also remove `config.json` and `osxkeychain` credentials diff --git a/desktop/previous-versions/edge-releases-mac.md b/desktop/previous-versions/edge-releases-mac.md index fa6ccc303e..b17b69c012 100644 --- a/desktop/previous-versions/edge-releases-mac.md +++ b/desktop/previous-versions/edge-releases-mac.md @@ -1495,7 +1495,7 @@ TCP connection is idle for more than five minutes (related to - Resync HTTP(S) proxy settings on application start - Interpret system proxy setting of localhost correctly (see [docker/for-mac#1511](https://github.com/docker/for-mac/issues/1511)) - All docker binaries bundled with Docker for Mac are now signed -- Display all docker cloud organizations and repositories in the whale menu (fixes [docker/for-mac#1538 ](https://github.com/docker/for-mac/issues/1538)) +- Display all docker cloud organizations and repositories in the whale menu (fixes [docker/for-mac#1538](https://github.com/docker/for-mac/issues/1538)) - OSXFS: improved latency for many common operations, such as read and write by approximately 25% ### Docker Community Edition 17.05.0-ce-mac11, 2017-05-12 @@ -2226,7 +2226,7 @@ events or unexpected unmounts. * Improved Moby syslog facilities * Improved file-sharing tab * `com.docker.slirp`: included the DNS TCP fallback fix, required when UDP responses are truncated -* `docker build/events/logs/stats... ` won't leak when iterrupted with Ctrl-C +* `docker build/events/logs/stats...` won't leak when iterrupted with Ctrl-C **Known issues** diff --git a/engine/install/debian.md b/engine/install/debian.md index 21871adad3..6fbd52970c 100644 --- a/engine/install/debian.md +++ b/engine/install/debian.md @@ -139,7 +139,7 @@ This procedure works for Debian on `x86_64` / `amd64`, `armhf`, `arm64`, and Ras ``` b. Install a specific version using the version string from the second column, - for example, `5:18.09.1~3-0~debian-stretch `. + for example, `5:18.09.1~3-0~debian-stretch`. ```console $ sudo apt-get install docker-ce= docker-ce-cli= containerd.io docker-compose-plugin diff --git a/engine/release-notes/17.06.md b/engine/release-notes/17.06.md index bab99c231f..4432855c1c 100644 --- a/engine/release-notes/17.06.md +++ b/engine/release-notes/17.06.md @@ -107,7 +107,7 @@ skip_read_time: true + Add support for `read_only` service to `docker stack deploy` [#docker/cli/73](https://github.com/docker/cli/pull/73) * Display Swarm cluster and node TLS information [#docker/cli/44](https://github.com/docker/cli/pull/44) + Add support for placement preference to `docker stack deploy` [#docker/cli/35](https://github.com/docker/cli/pull/35) -+ Add new `ca ` subcommand to `docker swarm` to allow managing a swarm CA [#docker/cli/48](https://github.com/docker/cli/pull/48) ++ Add new `ca` subcommand to `docker swarm` to allow managing a swarm CA [#docker/cli/48](https://github.com/docker/cli/pull/48) + Add credential-spec to compose [#docker/cli/71](https://github.com/docker/cli/pull/71) + Add support for csv format options to `--network` and `--network-add` [#docker/cli/62](https://github.com/docker/cli/pull/62) [#33130](https://github.com/moby/moby/pull/33130) - Fix stack compose bind-mount volumes on Windows [#docker/cli/136](https://github.com/docker/cli/pull/136) diff --git a/engine/scan/index.md b/engine/scan/index.md index 97fc93c995..85c4a5f48f 100644 --- a/engine/scan/index.md +++ b/engine/scan/index.md @@ -377,7 +377,7 @@ For more information about the vulnerability data, see [Docker Vulnerability Sca ### Limiting the level of vulnerabilities displayed Docker scan allows you to choose the level of vulnerabilities displayed in your scan report using the `--severity` flag. -You can set the severity flag to `low`, `medium`, or` high` depending on the level of vulnerabilities you’d like to see in your report. +You can set the severity flag to `low`, `medium`, or `high` depending on the level of vulnerabilities you’d like to see in your report. For example, if you set the severity level as `medium`, the scan report displays all vulnerabilities that are classified as medium and high. ```console diff --git a/engine/security/rootless.md b/engine/security/rootless.md index ff4f48da1c..f364163fc2 100644 --- a/engine/security/rootless.md +++ b/engine/security/rootless.md @@ -409,7 +409,7 @@ For example: **[rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: operation not permitted** -This error occurs mostly when the value of `/proc/sys/kernel/unprivileged_userns_clone ` is set to 0: +This error occurs mostly when the value of `/proc/sys/kernel/unprivileged_userns_clone` is set to 0: ```console $ cat /proc/sys/kernel/unprivileged_userns_clone diff --git a/language/golang/configure-ci-cd.md b/language/golang/configure-ci-cd.md index 14ae598483..d8d4dda68a 100644 --- a/language/golang/configure-ci-cd.md +++ b/language/golang/configure-ci-cd.md @@ -346,4 +346,4 @@ In the next module, we’ll look into some options for doing so: ## Feedback -Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs ](https://github.com/docker/docker.github.io/issues/new?title=[Golang%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. +Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs](https://github.com/docker/docker.github.io/issues/new?title=[Golang%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. diff --git a/language/golang/deploy.md b/language/golang/deploy.md index 37a3510a37..83950cca84 100644 --- a/language/golang/deploy.md +++ b/language/golang/deploy.md @@ -10,4 +10,4 @@ description: Learn how to deploy your application ## Feedback -Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs ](https://github.com/docker/docker.github.io/issues/new?title=[Golang%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. +Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs](https://github.com/docker/docker.github.io/issues/new?title=[Golang%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. diff --git a/language/golang/run-containers.md b/language/golang/run-containers.md index 64ade7607e..923eac4246 100644 --- a/language/golang/run-containers.md +++ b/language/golang/run-containers.md @@ -202,4 +202,4 @@ In this module, we learned how to run containers and publish ports. We also lear ## Feedback -Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs ](https://github.com/docker/docker.github.io/issues/new?title=[Golang %20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. +Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs](https://github.com/docker/docker.github.io/issues/new?title=[Golang %20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. diff --git a/language/nodejs/configure-ci-cd.md b/language/nodejs/configure-ci-cd.md index 9e257db7a1..74114f6802 100644 --- a/language/nodejs/configure-ci-cd.md +++ b/language/nodejs/configure-ci-cd.md @@ -242,4 +242,4 @@ You can also consider deploying your application. For detailed instructions, see ## Feedback -Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs ](https://github.com/docker/docker.github.io/issues/new?title=[Node.js%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. +Help us improve this topic by providing your feedback. Let us know what you think by creating an issue in the [Docker Docs](https://github.com/docker/docker.github.io/issues/new?title=[Node.js%20docs%20feedback]){:target="_blank" rel="noopener" class="_"} GitHub repository. Alternatively, [create a PR](https://github.com/docker/docker.github.io/pulls){:target="_blank" rel="noopener" class="_"} to suggest updates. diff --git a/network/ipvlan.md b/network/ipvlan.md index 169f87a8fb..03fa94f5c1 100644 --- a/network/ipvlan.md +++ b/network/ipvlan.md @@ -278,7 +278,7 @@ are as follows: - VLAN: 10, Subnet: 172.16.80.0/24, Gateway: 172.16.80.1 - `--subnet=172.16.80.0/24 --gateway=172.16.80.1 -o parent=eth0.10` - VLAN: 20, IP subnet: 172.16.50.0/22, Gateway: 172.16.50.1 - - `--subnet=172.16.50.0/22 --gateway=172.16.50.1 -o parent=eth0.20 ` + - `--subnet=172.16.50.0/22 --gateway=172.16.50.1 -o parent=eth0.20` - VLAN: 30, Subnet: 10.1.100.0/16, Gateway: 10.1.100.1 - `--subnet=10.1.100.0/16 --gateway=10.1.100.1 -o parent=eth0.30` diff --git a/subscription/faq.md b/subscription/faq.md index f3bac62f51..b85069a6bf 100644 --- a/subscription/faq.md +++ b/subscription/faq.md @@ -39,7 +39,7 @@ A Docker ID is the core of a Docker subscription. You can get one for free at [D ### I want to buy a large number of Docker Team Subscription seats. How do I do this? -Contact the [Docker Sales Team ](https://goto.docker.com/pricing-question.html){:target="blank" rel="noopener" class=""} to buy a larger number of Docker Team Subscription seats. +Contact the [Docker Sales Team](https://goto.docker.com/pricing-question.html){:target="blank" rel="noopener" class=""} to buy a larger number of Docker Team Subscription seats. ### How do I access support? Do I have any extra benefits?