Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: systemd in stackstorm container #29

Closed
cognifloyd opened this issue Jun 1, 2017 · 1 comment
Closed

feature request: systemd in stackstorm container #29

cognifloyd opened this issue Jun 1, 2017 · 1 comment

Comments

@cognifloyd
Copy link
Member

cognifloyd commented Jun 1, 2017

I really like the introspective capabilities of systemd. The ability to see which services are running which processes is very convenient. /etc/init.d/* status (like say /etc/init.d/nginx status) is less informative than systemd's systemctl equivalent. I think there are also some synergies on hosts with systemd where systemctl can get a container's information without requiring using docker run/exec/whatever.

I know can be a big deal to change the underlying image, but what does everyone think about modifying the base container of the stackstorm container so that it uses an OS with systemd? I'm fine with a newer version of debian, or whatever else.

Note: I'm not talking about the mongo or whatever other containers. I don't even know which images/OSes those are using because I haven't needed to enter them yet. If there happens to be a well maintained version of those containers that uses systemd, great. If not, use the well maintained one.

So what does everybody else think?

@arm4b
Copy link
Member

arm4b commented Jun 8, 2017

systemd brings more requirements to the host system, for example cgroup volume passthrough which is a blocker for many systems in terms of security.
So the way to run it is: docker run --rm -it -v /sys/fs/cgroup:/sys/fs/cgroup image + privileged mode in docker-compose.

Additionally, CicleCI prior to 2.0 can't run systemd containers by this reason, see: https://discuss.circleci.com/t/docker-with-centos7-systemd-container/885

So here is why we ran all-in-one stackstorm container under the upstart, rather then systemd. The idea behind the demo container is more simplicity & portability for more users and systemd didn't fit that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants