doc(readme): Fix docker run with mounted volume command (#3105)
Co-authored-by: Sheepster <sheepstert>
This commit is contained in:
1 parent
9afc450930
commit
ed8f7154f4
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user