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 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.