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
use s6-overlay with shared PID from docker host #182
Comments
Is this still an issue? What's the use-case for |
I have a similar issue. However, I work around it by making s6-nuke a NOOP: https://github.com/hassio-addons/addon-glances/blob/main/glances/rootfs/bin/s6-nuke The use case is for containers needing to share the PID space with the host of course, for example, for monitoring tools like Glances. Without sharing the PID namespace with the host, it would only monitor the processes in its own container. |
I'll just be brutally, brutally honest. I feel like every little thing I do on this project breaks something for somebody, I don't really enjoy working on it anymore. If there's a work-around for a container that depends on The alternatives off the top of my head:
|
Sorry, to hear that. I appreciate your work. I don't need it, and I don't care if something for this is added or not. I just tried to be friendly and provide a friendly bit of context when I saw the issue, especially since you actually asked for it. Looking back, doing that seems like a bad idea. I Will definitely not do that again on this project. |
s6-overlay 3.0.0.0 is out, which should be a lot easier to maintain now and break fewer things for everyone. :-) That said, unfortunately, Sorry, but I have to close this as WONTFIX. |
Right... Hence the option exists 🤷 Anyways, thanks for responding 👍 |
The option exists in Docker because Docker likes to have a lot of features; that does not mean that every single one of these features is a good idea to use. By using v3.0.0.0 is still lacking CI/CD, so there aren't yet any pre-built tarballs; they will come in the next days/weeks. For now, you can download from source and build the overlay yourself - it's as easy as typing |
I agree, you don't have to support it either :) I was honestly thanking you for responding and handling. Won't fix is an answer that is acceptable.
Yeah, there are some small corner cases where this is useful. But agree, it should bu avoided as much as possible.
👍 I'll await the official builds. Thanks for tagging! |
Hello,
When we use s6-overlay with
--pid=host
it stop all the system processes including Docker one!I think it will be better if there is an environment to skip stopping all container processes, but in this case we have to explicitly create a stop script to shutdown the container with it's processes.
The text was updated successfully, but these errors were encountered: