Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set default cgroup path to /runc #895

Closed
wants to merge 1 commit into from

Commits on Jun 8, 2016

  1. set default cgroup path to /runc

    So far when "cgroupsPath" was not specified in the config.json file runC
    containers used the prefix associated with the "devices" subsystem and placed
    the container in a subhierarchy starting with prefix for all subystems. For
    example, if the user starting the container was located in
    "/sys/fs/cgroup/devices/user.slice/random-cgroup" then runC would retrieve the
    "/user.slice/random-cgroup" string and place the container in a subcgroup
    "/sys/fs/cgroup/*/user.slice/random-cgroup/CONTAINERNAME" for all subsystems.
    Let's rather use "/runc" as the default cgroup for all subsystems. This seems
    cleaner and falls in line with Docker/LXC et al.
    
    Signed-off-by: Christian Brauner <cbrauner@suse.com>
    Christian Brauner committed Jun 8, 2016
    Configuration menu
    Copy the full SHA
    750327d View commit details
    Browse the repository at this point in the history