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

switch to systemd /sbin/init for services #75

Open
james-nesbitt opened this issue Feb 10, 2016 · 3 comments
Open

switch to systemd /sbin/init for services #75

james-nesbitt opened this issue Feb 10, 2016 · 3 comments

Comments

@james-nesbitt
Copy link
Owner

There are some disadvantages to running direct services on command line that would be solved by switching to using systemd to run all container services.

Disadvantages:

  • it seems that running using systemd would require a specific mount to be used on any containers;
  • scanning the docker container list wont show you what binary is running
  • running a single service per container is the old-school "best-practice" in the docker world

Advantages:

  • no more zombie processes
  • better handling of services,
  • better options for startup scripts for custom actions and binary preparation
  • most services already come with a systemd service (no scripts required.)
@james-nesbitt
Copy link
Owner Author

I have a systemd branch started: https://github.com/james-nesbitt/wunder-docker/tree/systemd

@james-nesbitt
Copy link
Owner Author

so far the base image has been reformatted to use systemd, and the nginx image runs.

This may be refactored so that there are 2 base images: base & base-systemd

@james-nesbitt
Copy link
Owner Author

The biggest impact here is that any container run from these images would have a runtime requirement for mounting. I am pretty sure that this makes them useless.

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

No branches or pull requests

1 participant