mirror of https://github.com/docker/docs.git
Update 06_bind_mounts.md
There were some vocabulary errors in the above corrected (committed) changes.
This commit is contained in:
parent
c572de1b40
commit
158939d71a
|
@ -50,13 +50,13 @@ command prompt (`cmd`).
|
|||
2. Run the following command to start `bash` in an `ubuntu` container with a
|
||||
bind mount.
|
||||
|
||||
If you are using an Mac or Linux device, then use the following command.
|
||||
If you are using a Mac or Linux device, then use the following command:
|
||||
|
||||
```console
|
||||
$ docker run -it --mount type=bind,src="$(pwd)",target=/src ubuntu bash
|
||||
```
|
||||
|
||||
If you are using Windows, then use the following command in PowerShell.
|
||||
If you are using Windows, then use the following command in PowerShell:
|
||||
|
||||
```powershell
|
||||
$ docker run -it --mount "type=bind,src=$pwd,target=/src" ubuntu bash
|
||||
|
|
Loading…
Reference in New Issue