j8r / dockerfiles

Repository for my dockerfiles
https://hub.docker.com/u/jrei
ISC License
123 stars 46 forks source link

Windows Host: "Cannot determine cgroup we are running in: No medium found" #13

Open doug62 opened 3 years ago

doug62 commented 3 years ago

This image seems to require running on Linux with /sys/fs/cgroup:ro and therefore can't be run on windows host with linux images. Otherwise this is really cool.

j8r commented 3 years ago

Thanks! For your issue, I have no idea for a real fix except than trying Docker in Docker.

Chealer commented 3 years ago

Thank you for trying @doug62 If the image was not tested on Windows, it would help to document that in the description (either supported or unsupported platforms).

Chealer commented 3 years ago

I did not try it, but apparently Podman should simplify systemd containers.

j8r commented 3 years ago

Even if I agree that podman simplifies things on Linux (and I also use it at times), it is not related to the above issue (see https://podman.io/getting-started/installation#windows).

Docker does not run natively on Windows: do you use WSL2, the official Docker application or anything else?