Skip to content

This is Dockerfile repository that wrap jq command. This docker image is very small to use comand line.

License

Notifications You must be signed in to change notification settings

genzouw/docker-jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is Dockerfile repository that wrap jq command. This docker image is very small to use comand line.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published