Information
https://docs.docker.com/engine/reference/commandline/daemon/#access-authorization
2.https://docs.docker.com/engine/extend/authorization/
3.https://github.com/twistlock/authz
Solution
Step 1- Install/Create an authorization plugin.
Step 2- Configure the authorization policy as desired.
Step 3- Start the docker daemon as below-
docker daemon --authorization-plugin=<PLUGIN_ID>
Impact-
Each docker command specifically passes through authorization plugin mechanism. This might introduce a slight performance drop.
Default Value-
By default, authorization plugins are not set up.