From 11e78ec50afa2424221e862ef8c08fb10d4c60d4 Mon Sep 17 00:00:00 2001 From: Andrey Bienkowski Date: Tue, 8 Feb 2022 08:56:31 +0000 Subject: [PATCH] docker: use absolute paths in `-v` example (#7762) Volume paths must be absolute instead of relative. --- pages/common/docker-run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/docker-run.md b/pages/common/docker-run.md index 1d228fcd0..e3c813b9d 100644 --- a/pages/common/docker-run.md +++ b/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: