AkihiroSuda / containerized-systemd

Dockerfile examples for containerized systemd (mainly for test environments)
https://github.com/moby/moby/pull/40493
Apache License 2.0
123 stars 20 forks source link

-v /sys/fs/cgroup:/sys/fs/cgroup:ro #10

Closed spurin closed 3 years ago

spurin commented 3 years ago

Hi @AkihiroSuda

Appreciate your efforts on this, the project is great and am finding it useful for a use-case I have.

Running systemd in Docker typically involves the use of '-v /sys/fs/cgroup:/sys/fs/cgroup:ro' volume pass thru from the parent.

Are you able to advise on why this is not needed here?

Thanks

AkihiroSuda commented 3 years ago
spurin commented 3 years ago

Thanks @AkihiroSuda

Grateful for your feedback on this.