Closed mrechte closed 3 years ago
Also tested on centos8: same problem.
Add --tmpfs /run does the trick. Thanks to https://stackoverflow.com/questions/36617368/docker-centos-7-with-systemctl-failed-to-mount-tmpfs-cgroup
@mrechte since it works you can close the issue
Add --tmpfs /run does the trick. Thanks to https://stackoverflow.com/questions/36617368/docker-centos-7-with-systemctl-failed-to-mount-tmpfs-cgroup
@mrechte Sorry to dredge up this old issue, but I have the same problem, and so far the only way I've seen to do this is by command options. Is it possible to translate this into the Dockerfile?
Hello, Host is an ArchLinux box. I am trying to start a base image container (build with the suggested Dockerfile).
$ docker run -ti -v /sys/fs/cgroup:/sys/fs/cgroup:ro local/c7-systemd Failed to mount tmpfs at /run: Operation not permitted [!!!!!!] Failed to mount API filesystems, freezing.
Also tried with centos:8 image.