From ed8f7154f4e3e0a8b01e6778de2633aabbb623f8 Mon Sep 17 00:00:00 2001 From: sheepster Date: Wed, 1 May 2024 18:56:48 +0300 Subject: [PATCH] doc(readme): Fix docker run with mounted volume command (#3105) Co-authored-by: Sheepster --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 691adc49..ea4ea2e4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version' ``` ##### Example: Extracting the version from a `package.json` file with a mounted volume ```bash -docker run --rm -i -v "${PWD}":/pwd -w /pwd ghcr.io/jqlang/jq:latest '.version' package.json +docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json ``` ### Building from source