Can't get writable cgroups (v1) inside container without --privileged #16840
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Feature request based on this post:
#8441
For some reason cgroup v1 support was not added.
Wondering if there was a reason, and if we can remove that functionality?
I am trying to remove the
--priveleged
in a new use-case that I have which uses Podman In Podman, and would instead like to be specific about my capabilities used. It seems at runtime that I get an error that/sys/fs/cgroups
is read-only at runtime, and the only way to make itrw
is to use the--priveleged
flag.This was fixed for cgroupsv2, but I am unfortunately using cgroupsv1.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes @ troubleshooting.
No @ latest.
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical
The text was updated successfully, but these errors were encountered: