Updated readme as per #1051 recommendations

This commit is contained in:
Mike Farah 2022-01-15 17:54:08 +11:00
parent dfe4308304
commit 1fba46f2f7

View File

@ -104,6 +104,9 @@ rm /etc/myfile.tmp
docker run --rm -v "${PWD}":/workdir mikefarah/yq <command> [flags] [expression ]FILE... docker run --rm -v "${PWD}":/workdir mikefarah/yq <command> [flags] [expression ]FILE...
``` ```
Note that you can run `yq` in docker without network access and other privileges if you desire,
namely `--security-opt=no-new-privileges --cap-drop all --network none`.
```bash ```bash
podman run --rm -v "${PWD}":/workdir mikefarah/yq <command> [flags] [expression ]FILE... podman run --rm -v "${PWD}":/workdir mikefarah/yq <command> [flags] [expression ]FILE...
``` ```