Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Fixes issue 270: footloose container fails to start after upgrading t… #271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MartinAhrer
Copy link

…o Docker 4.3

According to https://docs.docker.com/desktop/mac/release-notes/#bug-fixes-and-minor-changes-1

  • Add the following option:
    --cgroupns=host
  • Modifies volume option:
    -v /sys/fs/cgroup:/sys/fs/cgroup:rw.

Adds a debian11 image that uses systemd 247

…o Docker 4.3

According to https://docs.docker.com/desktop/mac/release-notes/#bug-fixes-and-minor-changes-1
- Add the following option:
  --cgroupns=host
- Modifies volume option:
  -v /sys/fs/cgroup:/sys/fs/cgroup:rw.

Adds a debian11 image that uses systemd 247
Comment on lines +297 to +298
"--cgroupns", "host",
"-v", "/sys/fs/cgroup:/sys/fs/cgroup:rw",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be a conditional setup as not all systems using footloose will have cgroups v2 in place. Or at least it needs to be made sure this does not break cgroups v1 based setups of docker. E.g. we (https://github.com/k0sproject/k0s) use footloose heavily without Docker Desktop e.g. in our CI where the runners are cgroups v1 based.

@ncopa
Copy link

ncopa commented Feb 9, 2022

I created a PR which conditionally adds support for cgroupv2
#272

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants