open-policy-agent / opa-docker-authz

A policy-enabled authorization plugin for Docker.
Apache License 2.0
81 stars 25 forks source link

OPA integration with dockerd during bootstrap #78

Open mufaddal-rohawala opened 9 months ago

mufaddal-rohawala commented 9 months ago

Docker Daemon allows us to set the authZ plugin at dockerd bootstrap. This would be very helpful, rather than updating the daomon.json (since daemon.json is applicable to all dockerd's in a user-namespaced multi-dockerd scenerio).

Is it possible to configure the OPA plugin at dockerd bootstrap?

anderseknert commented 9 months ago

Hi @mufaddal-rohawala 👋 I don't think I've seen that before, so the answer is probably "no" :P But as it seems like they're similar, I can imagine it would be possible to have it work with some effort.