How to set SCHED_FIFO or realtime attributes for a process running inside the docker container

Solution In Progress - Updated -

Issue

  • How to set SCHED_FIFO or realtime attributes for a process running inside the docker container
  • chrt with the message
chrt: failed to set pid 0's policy: Operation not permitted

Environment

  • Red Hat Enterprise Linux 7
  • docker

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.