Explorar o código

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

Volume paths must be absolute instead of relative.
Andrey Bienkowski %!s(int64=3) %!d(string=hai) anos
pai
achega
11e78ec50a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/common/docker-run.md

+ 1 - 1
pages/common/docker-run.md

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