Bonitasoft-Community/docker_bonita

Enable the docker image for OpenShift

Opened this issue · 1 comments

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

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