Open zuavra opened 1 month ago
If I populate /etc/docker/daemon.json
with the following:
{
"exec-opts": ["native.cgroupdriver=cgroupfs"]
}
Then the errors go away and I am able to create containers normally as expected. So it would seem the problem only affects systemd cgroups (v2).
Description
Containers fail to be created with error "The name org.freedesktop.systemd1 was not provided by any .service files: unknown."
Reproduce
Result:
Expected behavior
Docker should create a container using the provided image.
docker version
docker info
Additional Info
I am running docker as root (rootful mode).
I do not have an
/etc/docker/daemon.json
config file.