jq-docker/README.md
Markus Pesch 65e051c41d
All checks were successful
Build / build-amd64 (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m12s
docs(README): adapt documentation to be compliant with markdownlint
2025-05-31 13:40:27 +02:00

25 lines
944 B
Markdown

# jq
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/jq)](https://hub.docker.com/r/volkerraschek/jq)
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/jq`. The primary goal
of this project is to package the binary `jq` as container image. The source code of the binary can be found in the
upstream project of [adrienverge](https://github.com/adrienverge/jq).
A documentation or how to use `jq` is available on [readthedocs.io](https://jq.readthedocs.io/en/stable/). An example
how to use this image and read a JSON file from stdin is documented below. Pleas adapt the path of the JSON file.
```bash
# read file (stdin)
docker run \
--interactive \
--rm \
git.cryptic.systems/volker.raschek/jq:latest < /etc/docker/daemon.json
# cat (stdin)
cat /etc/docker/daemon.json | docker run \
--interactive \
--rm \
git.cryptic.systems/volker.raschek/jq:latest
```