You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.13.12
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.13.12
PRETTY_NAME="Alpine Linux v3.13"
Issue
I'm running Nomad from a docker container. After upgrading the Nomad from 1.6.10 to 1.7.7 the Nomad docker container refuses to start with the following error:
[ERROR] agent: error starting agent: error="client setup failed: failed to initialize process manager: failed to create nomad cgroup: write /sys/fs/cgroup/cgroup.subtree_control: device or resource busy"
Hi @sirbudd, thanks for reporting the issue. Unfortunately, we do not support running Nomad inside a container, and since Nomad 1.7 introduced NUMA aware scheduling and changed the way we fingerprint CPU and interact with cgroups, scenarios in which Nomad used to work may no longer work, sadly.
We stumbled upon the same problem and ended up here. After playing around, even though the scenario is not officially supported, we discovered, that there is an option to work around this:
--cgroupns=host
With this option set, it looks like Nomad 1.7.7 is running in a podman container as well.
Nomad version
Operating system and Environment details
Issue
I'm running Nomad from a docker container. After upgrading the Nomad from 1.6.10 to 1.7.7 the Nomad docker container refuses to start with the following error:
Reproduction steps
This is the dockerfile:
The built image is run using docker-compose:
Expected Result
The Nomad server running properly.
Actual Result
The error:
The text was updated successfully, but these errors were encountered: