Skip to content

Conversation

Roriz
Copy link

@Roriz Roriz commented Oct 4, 2022

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Problem:
Updates from Ubuntu 20.xx to 22.xx break a frontend running inside a docker.

Other information:
Ubuntu 22.04 released April 21, 2022 use new config for systemd systemd.unified_cgroup_hierarchy=1. This config changes how docker use users group to v2: https://docs.docker.com/config/containers/runmetrics/#enumerate-cgroups

Right now, vue-cli does not detect cgroup v2, and this PR aims to detect a new cgroup config based on the existence of file /sys/fs/cgroup/cgroup.controllers.

@Roriz Roriz closed this Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant