j8r / dockerfiles

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

Suggested methods don't start containers for debian:10|11|sid #17

Closed mcmidget closed 3 years ago

mcmidget commented 3 years ago

Hi and thanks for your *-systemd stuff ...

I've tried suggested methods (using --privileged, and even adding --cap-add SYS_ADMIN capabilities) but none seems to work for debian:10|debian:11|debian:sid :(

Produces:

systemd-debian-sid   jrei/systemd-debian:sid      4 minutes ago   Exited (255) 4 minutes ago   
systemd-debian-11    jrei/systemd-debian:11       4 minutes ago   Exited (255) 4 minutes ago   
systemd-debian-10    jrei/systemd-debian:10       4 minutes ago   Exited (255) 4 minutes ago   
systemd-debian-9     jrei/systemd-debian:9        4 minutes ago   Up 4 minutes                 
systemd-debian-8     jrei/systemd-debian:8        4 minutes ago   Up 4 minutes
j8r commented 3 years ago

Have you more information, like logs?

mcmidget commented 3 years ago

You are right, sorry... my report was a bit loose. I was investigating and found out my prob has nothing to do with your Dockerfiles but with 'cgroups'. I think I've found the root of the problem and used this flag to fix in my docker-compose.yml files untill I have some time to go deeper:

cgroup_parent: docker.slice

I'm really sorry for the noise. Feel free to close this issue.

Regards,