appending cmd tab in trying out bind mounts section to work Closes #18242 (#18243)

* appending cmd tab in trying out bind mounts section to work
This commit is contained in:
Armin Fatemi 2023-10-05 19:09:09 +03:30 committed by GitHub
parent 128cbb8545
commit 217922ca38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -59,14 +59,21 @@ work.
```
{{< /tab >}}
{{< tab name="Windows" >}}
{{< tab name="Windows (PowerShell)" >}}
Run this command in PowerShell.
```powershell
$ docker run -it --mount "type=bind,src=$pwd,target=/src" ubuntu bash
```
{{< /tab >}}
{{< tab name="Windows (CMD)" >}}
```Command Prompt
> docker run -it --mount "type=bind,src=%cd%,target=/src" ubuntu bash
```
{{< /tab >}}
{{< /tabs >}}