Skip to content

Commit 9069c09

Browse files
authored
docs: fix installer flag hyphens in admin FAQ (#25719)
## Summary - replace em dashes with double hyphens in the non-admin install flags - fix the Windows command example so copy/paste works as documented Fixes #25717 ## Testing - git diff --check - npx --yes markdownlint-cli2 content/manuals/desktop/troubleshoot-and-support/faqs/general.md Co-authored-by: Niels Kaspers <nielskaspers@users.noreply.github.com>
1 parent 343a3dd commit 9069c09

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • content/manuals/desktop/troubleshoot-and-support/faqs

content/manuals/desktop/troubleshoot-and-support/faqs/general.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Docker Desktop requires administrator privileges only for installation. Once ins
9696
{{< tabs >}}
9797
{{< tab name="Mac" >}}
9898

99-
To run Docker Desktop on Mac without requiring administrator privileges, install via the command line and pass the `user=<userid>` installer flag:
99+
To run Docker Desktop on Mac without requiring administrator privileges, install via the command line and pass the `--user=<userid>` installer flag:
100100

101101
```console
102102
$ /Applications/Docker.app/Contents/MacOS/install --user=<userid>
@@ -115,13 +115,12 @@ You can then sign in to your machine with the user ID specified, and launch Dock
115115
>
116116
> If you are using the WSL 2 backend, first make sure that you meet the [minimum required version](/manuals/desktop/features/wsl/best-practices.md) for WSL 2. Otherwise, update WSL 2 first.
117117
118-
To run Docker Desktop on Windows without requiring administrator privileges, install via the command line and pass the `always-run-service` installer flag.
118+
To run Docker Desktop on Windows without requiring administrator privileges, install via the command line and pass the `--always-run-service` installer flag.
119119

120120
```console
121-
$ "Docker Desktop Installer.exe" install always-run-service
121+
$ "Docker Desktop Installer.exe" install --always-run-service
122122
```
123123

124124
{{< /tab >}}
125125
{{< /tabs >}}
126126

127-

0 commit comments

Comments
 (0)