Objective: I have 200+ projects using docker builds they run docker in their own docker daemon.To reduce cost i setup a central docker build server where i have to allow all projects to build docker images securely
Description I created the setup with jenkins docker pipeline by installing docker plugin in jenkins and connected to my docker host via docker API.when i run build it launch docker host as jenkins slave container and allow to run docker build
Issue Setup works fine for building docker image but my concern is with security how to securely allow 200+ projects to connect docker daemon? How to restrict access of each users based on roles? How to forbidden docker run command in docker daemon? they are restricted to run docker run
Platform i use: Jenkins running in redhatopenshift docker host in a linux box
Can any suggest me the steps to fix this security hole
Regards Ashif