1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 07:15:24 +02:00

docker: use absolute paths in -v example (#7762)

Volume paths must be absolute instead of relative.
This commit is contained in:
Andrey Bienkowski 2022-02-08 08:56:31 +00:00 committed by GitHub
parent 0c99df4a33
commit 11e78ec50a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: