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
Working runit services #1
Conversation
When I start to run the container, it fails :
You may have received mail notifications about other errors, please ignore them, it was wrong... I had commented |
I don't think it possible to remove upstart package, because runit depends on it. Removing upstart also removes runit. |
Maybe you could simply remove |
Thanks for your contribution. |
Thanks, i'll keep working on this branch, I start to understand how the whole thing works :) |
It's working, but it still need some work on
There's also a problem with openkdmi :
Also, instead of using Another minor issue : Some runit services are created before required files are installed by setup script. This floods the docker container logs of services failing to start for various reason. |
I wasn't aware of the fact that runit supports lsb init scripts. I think that will solve most of the issues I had! |
@chrert sorry, but it doesn't really support lsb init scripts. Creating the symlink only make Writing custom scripts for runit is still required. |
There's an issue when running docker container with This can be reproduced without runing the startup script, just after creating the container.
So i'll sugest to remove the I think this is related to moby/moby#7318, and there are other issues when searching for |
@Toilal That looks very good! Thanks for your work! As soon as everything is working, I will make a PR to the main repo! |
Hi @chrert, thanks for working on mailinabox dockerization.
I'm on it too, and your Dockerfile seems very good as it should fix issues i've encoutered with services.
2 )
RUN rm -f /tmp/mailinabox_apt_package_list.txt
is not required, because it will be removed at the very last step of the Dockerfile.I'll build this and give it a try on my own server.