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 >}}
@ -334,4 +341,4 @@ simplicity, you'll keep using a relational database and switch your application
to use MySQL. But, how should you run MySQL? How do you allow the containers to
talk to each other? You'll learn about that in the next section.
{{< button text="Multi container apps" url="07_multi_container.md" >}}
{{< button text="Multi container apps" url="07_multi_container.md" >}}