Sign inSign up

genzouw/jq

By genzouw

•Updated over 6 years ago

This docker image is the smallest size jq (https://stedolan.github.io/jq/) command wrapper.

Image
0

2.1K

genzouw/jq repository overview

⁠docker-jq

Docker Cloud build status Docker Pulls Docker Cloud Automated build

dockeri.co

⁠Description

This is Dockerfile repository that wrap jq⁠ command.

This docker image is very small to use comand line.

  • Please refer to the official website of jq⁠ for how to use jq⁠ command.
  • Please contact me anytime if you have a problem or request! My information is posted at the bottom of this document.

Docker images can be referenced from the following page.

⁠Requirements

⁠Installation

$ docker pull genzouw/jq

⁠Usage

Please refer to the official website of jq⁠ for how to use jq⁠ command.

$ echo '{ "x":1, "y":"c" }' | docker run -i genzouw/jq .
{
  "x": 1,
  "y": "c"
}

$ echo '{ "x":1, "y":"c" }' | docker run -i genzouw/jq -c .
{"x":1,"y":"c"}

$ echo '{ "x":1, "y":"c" }' | docker run -i genzouw/jq -c .y
"c"

$ echo '{ "x":1, "y":"c" }' | docker run -i genzouw/jq -rc .y
c

It is more convenient to put the following aliases in the ~/.bashrc or ~/.zshrc file.

$ alias jq='docker run -i genzouw/jq'

⁠License

This software is released under the MIT License, see LICENSE.

⁠Author Information

genzouw⁠

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

over 6 years ago

docker pull genzouw/jq