Bonitasoft-Community / docker_bonita

:whale: Source of the official Bonita Docker image
https://hub.docker.com/_/bonita/
18 stars 16 forks source link

Enable the docker image for OpenShift #13

Open marcin-talex opened 5 years ago

marcin-talex commented 5 years ago

Hi, The current image uses the root account - which is a problem when trying to run it with OpenShift platform due to security reasons. Could it use an (maybe dedicated) account which has not this privilege? Best regards, Marcin

fulvi0 commented 4 years ago

As a work around you can create a service account and include the policy of anyuid

sample

$ oc create serviceaccount bonita-ce
$ oc adm policy add-scc-to-user anyuid -z bonita-ce
$ oc set serviceaccount dc/bonita-ce bonita-ce