opa
opa copied to clipboard
Documentation request - Docker config-file
Documentation Update Request
Please update documentation to include how to use/pass a config-file yaml with docker hub opa image https://hub.docker.com/r/openpolicyagent/opa
Ideal solution
Ideally it would be as easy as -v /local/path/to/config.yaml:/container/opapath/to/config.yaml
Hi @hutchins! Are you referring to the OPA Docker plugin for authorization? Or just want to mount a config file into the regular OPA container?
Just how to mount a config file for OPA.
Alright! Your ideal solution is pretty much it :)
docker run -it --rm -p 8181:8181 -v ${PWD}:/conf openpolicyagent/opa run --server --config-file=/conf/opa-conf.yaml
Did you get it to work, @hutchins ?
Let me know if we should re-open this. Closing for now.