Skip to content

Conversation

@mcdonnnj
Copy link
Contributor

@mcdonnnj mcdonnnj commented Dec 8, 2022

These changes should fix the currently failing GitHub Actions configuration now that Ubuntu 22.04 runners are being used for your workflows using the ubuntu-latest tag. These mirror the changes made in geerlingguy/docker-fedora37-ansible#2.

On Ubuntu 22.04 GitHub Actions runners cgroups v2 are in use and
changes are necessary to successfully start this systemd enabled image.
The default namespace for cgroups v2 is `private` while the default for
cgroups v1 was `host` so we must manually change the cgroups namespace
to have the same behavior. We must also change the mounted cgroup
volume from read-only to read-write permissions.
Include the `--cgroupns` option in the example command to support
running on cgroups v2 hosts. This should have no detrimental impact for
cgroups v1 hosts based on my testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant