a lightweight and portable command-line YAML processor
115
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.
Content type
Image
Digest
Size
429.3 MB
Last updated
over 6 years ago
docker pull smalldreamer/mikefarah-yq:2.4.2