containerized-systemd icon indicating copy to clipboard operation
containerized-systemd copied to clipboard

Dockerfile examples for containerized systemd (mainly for test environments)

Results 5 containerized-systemd issues
Sort by recently updated
recently updated
newest added

This is the error i get after starting a stopped container: Failed to attach 1 to compat systemd cgroup /docker/7b3b233323cff40ede61b193d80a0b738a99fd8465ac480f3c7f74f0cbeac103/init.scope: No such file or directory Failed to open pin file:...

I have latest Docker on Ubuntu 21.10, with cgroups v2 enabled and host OS configured as per instructions at https://rootlesscontaine.rs/getting-started/common/cgroup2/. ``` $ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.14.14-xanmod2 root=UUID=3d234b83-5e3a-4eff-a384-8e17575d4031 ro systemd.unified_cgroup_hierarchy=1 quiet splash...

https://github.com/moby/moby/blob/master/hack/dind-systemd was forked from https://github.com/AkihiroSuda/containerized-systemd/blob/b70bac0daeea120456764248164c21684ade7d0d/docker-entrypoint.sh in https://github.com/moby/moby/commit/0e0b300a1ce42e21d0cefbe2f159005d398c7ff3 . The fork now has a few modifications that are not backported to https://github.com/AkihiroSuda/containerized-systemd : https://github.com/moby/moby/commits/master/hack/dind-systemd

I'm running on ubuntu, and I want to keep the container alive after it finishes the command. is there a way to do that?