mirror of https://github.com/CrimsonTome/tldr.git
docker: use absolute paths in `-v` example (#7762)
Volume paths must be absolute instead of relative.feature/windows-fix-syntax-2
parent
0c99df4a33
commit
11e78ec50a
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Run command in a new container with bind mounted volumes:
|
||||
|
||||
`docker run -v {{path/to/host_path}}:{{path/to/container_path}} {{image}} {{command}}`
|
||||
`docker run -v {{/path/to/host_path}}:{{/path/to/container_path}} {{image}} {{command}}`
|
||||
|
||||
- Run command in a new container with published ports:
|
||||
|
||||
|
|
Loading…
Reference in New Issue