How to create a pod to run with privileged security context constraints in OpenShift 3?

Solution Unverified - Updated -

Issue

  • Getting permission issues when trying to deploy a docker image in OpenShift v3

  • # oc logs <pod> shows the following:

[ALERT] 257/153255 (10) : [/usr/local/sbin/haproxy.main()] Cannot create pidfile /var/run/haproxy.pid
  • How do I create a pod to run with privileged securitycontextconstraints

Environment

  • Red Hat OpenShift Enterprise 3.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.