I came across the environment variable: DRONE_PLUGIN_PRIVILEGED which “used” to automatically use privileged mode on listed images. Does it still work? Was it replaced? Because it does not seem to work anymore on version 0.8.7
I would like to use my cache image to always run in privileged mode WITHOUT having to add “trust” to all my repositories.
Is there a list of environment image for agent and drone docker images? It would be nice to see all our options when we deploy drone.
yes, there have not been any changes to this variable. If DRONE_PLUGIN_PRIVILEGED stopped working, we would be unable to build and publish Drone itself. So I’m pretty confident it is working as expected. Perhaps it is just not being set correctly.
the DRONE_PLUGIN_PRIVILEGED variable needs to be set with the server. This is because the server sends a “compiled” version of the yaml down to the execute for execution.