Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Does not work on host with cgroupsv2 enabled #44

@shanemcd

Description

@shanemcd

In the logs:

2021-03-18 17:28:43,342 INFO exited: start (exit status 7; not expected)
2021-03-18 17:28:44,345 INFO spawned: 'config-serve' with pid 515
2021-03-18 17:28:44,846 INFO exited: config-serve (exit status 125; not expected)
2021-03-18 17:28:47,852 INFO spawned: 'config-serve' with pid 643
2021-03-18 17:28:48,331 INFO exited: config-serve (exit status 125; not expected)
2021-03-18 17:28:49,332 INFO gave up: config-serve entered FATAL state, too many start retries too quickly

In the container:

$ docker exec -ti ac64d35e5251 bash
bash-5.0# supervisorctl status
config-serve                     FATAL     Exited too quickly (process log may have details)
dockerd                          RUNNING   pid 20, uptime 0:05:58
kubelet                          STOPPED   Not started
start                            EXITED    Mar 18 05:28 PM

When trying to run config-serve directly:

bash-5.0# /usr/local/bin/docker run --rm -v /var/kube-config/:/usr/share/nginx/html:ro -p 10080:80 nginx:1.13
/usr/local/bin/docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions