podman run fails when using --cpus option with rootless.

Solution Verified - Updated -

Issue

  • podman run fails when using --cpus option.
  • podman run fails when using --cpuset-cpus option with the following error
Error: OCI runtime error: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: cannot set cpuset limit: container could not join or create cgroup

Environment

  • Red Hat Enterprise Linux 8
  • podman
  • runc
  • rootless container

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