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 >}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue