Simple Alpine docker image with jq installed
10K+
Simple Alpine docker image with JQ installed
$ docker run --rm matheusmmo/docker-jq sh -c 'echo "{\"foo\":\"bar\"}" | jq .'
In some cases, you may want to pass data from your host machine to the docker-jq machine. Do this by setting up a enviroment variable, like so:
$ json='{"foo":"bar"}'
$ docker run --rm -e JSON="$json" matheusmmo/docker-jq sh -c 'echo $JSON | jq .'
Content type
Image
Digest
Size
2.4 MB
Last updated
over 8 years ago
docker pull matheusmmo/docker-jq