Sign inSign up

smalldreamer/mikefarah-yq

By smalldreamer

Updated over 6 years ago

a lightweight and portable command-line YAML processor

Image
0

115

smalldreamer/mikefarah-yq repository overview

a lightweight and portable command-line YAML processor

The aim of the project is to be the jq or sed of yaml files.

Oneshot use:

docker run --rm -v ${PWD}:/workdir mikefarah/yq yq [flags] FILE...

Run commands interactively:

docker run --rm -it -v ${PWD}:/workdir mikefarah/yq sh

It can be useful to have a bash function to avoid typing the whole docker command:

yq() { docker run --rm -i -v ${PWD}:/workdir mikefarah/yq yq $@ }

Check out the https://mikefarah.gitbook.io/yq/ for more detailed and advanced usage.

Tag summary

Content type

Image

Digest

Size

429.3 MB

Last updated

over 6 years ago

docker pull smalldreamer/mikefarah-yq:2.4.2