Skip to content

Commit

Permalink
doc(readme): Fix docker run with mounted volume command (#3105)
Browse files Browse the repository at this point in the history
Co-authored-by: Sheepster <sheepstert>
  • Loading branch information
sheepster1 authored May 1, 2024
1 parent 9afc450 commit ed8f715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed8f715

Please sign in to comment.