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
I installed bare metal version on ubuntu LTS 22.04 with python3. I was able to run examples without container node. When I tried "sudo python3 containernet_example.py" I get the following error:
docker.errors.APIError: 400 Client Error: Bad Request ("cgroup-parent for systemd chgroup should be a valid slice named as "xxx.slice"")
I checked that docker is in cgroup systemd - docker is installed using your ansible.
I tried to change the cgroup to cgroupfs and restarting docker daemon but cgroup remains systemd.
I would appreciate any help. Did you see this error with others.
Best,
Nagi
The text was updated successfully, but these errors were encountered:
It is resolved it by creating file /etc/docker/daemon.json configuration file with the following:
{
"exec-opts": ["native.cgroupdriver=cgroupfs"]
}
After saving it, restarting docker service.
sudo systemctl enable docker
sudo systemclt daemon-reload
sudo systemctl restart docker
I installed bare metal version on ubuntu LTS 22.04 with python3. I was able to run examples without container node. When I tried "sudo python3 containernet_example.py" I get the following error:
docker.errors.APIError: 400 Client Error: Bad Request ("cgroup-parent for systemd chgroup should be a valid slice named as "xxx.slice"")
I checked that docker is in cgroup systemd - docker is installed using your ansible.
I tried to change the cgroup to cgroupfs and restarting docker daemon but cgroup remains systemd.
I would appreciate any help. Did you see this error with others.
Best,
Nagi
The text was updated successfully, but these errors were encountered: