You need to both grant access to the privileged SCC
<https://docs.openshift.org/latest/admin_guide/manage_scc.html#grant-access-to-the-privileged-scc>
to the service account running the pod and set the
SecurityContext.Privileged field to true
<https://docs.openshift.org/latest/rest_api/kubernetes_v1.html#v1-securitycontext>
.

Thanks!

Paul

On Tue, Jul 25, 2017 at 8:31 AM, Pri <[email protected]> wrote:

> Hi ,
>
> Is there a way we can run docker images on openshift with "--privileged"
> mode ?
>
> Something like we do while running any docker image such as:
>
> docker run --privileged <image-name> <command>
>
>
> I tried editing privileged scc but that doesnt work for me . Could you
> please help if its possible?
>
> Thanks,
> Priy
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to