Skip to content

Enabling privileged containers on Openshift

Chakradhar Rao Jonagam edited this page Mar 24, 2016 · 2 revisions

You need to have cluster adimin privilages

edit scc

oc edit scc restricted 
or
oc edit scc restricted --config=/openshift.local.config/master/admin.kubeconfig  

Change runAsUser type to RunAsAny

- SETGID
runAsUser:
  type: RunAsAny
seLinuxContext:
  type: MustRunAs
supplementalGroups:
  type: RunAsAny
Clone this wiki locally