mirror of https://github.com/docker/docs.git
* appending cmd tab in trying out bind mounts section to work
This commit is contained in:
parent
128cbb8545
commit
217922ca38
|
@ -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" >}}
|
||||
|
|
Loading…
Reference in New Issue