Is it possible to restrict --privileged flag for a docker user in Red Hat Enterprise Linux 7 ?

Solution Unverified - Updated -

Issue

  • Is it possible to restrict --privileged flag for docker user in Red Hat Enterprise Linux 7 ?
  • We have a select number of developer users (non-root) added to the "dockerroot" group, which allows them to run docker containers. We want to restrict the usage --privileged flag and also to restrict u--serns=host option.

Environment

  • Red Hat Enterprise Linux 7
  • docker-1.12.6-*

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content