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

Do we want to allow services to use the host's process namespace? #1605

Open
errordeveloper opened this issue Oct 10, 2016 · 9 comments
Open

Comments

@errordeveloper
Copy link
Contributor

In the spirit of #989, there is a need for allowing container to run in host's process namespace. Unlike docker run --pid=..., it may be not necessary to provide a way for running it a namespace of another container, but instead only host's namespace would be of particular interest.

My use case is about running a monitoring agent that has to see all processes on a host. Weave Scope is one example, but there are many other applications with similar requirements.

@megastef
Copy link

+1

1 similar comment
@jimmycmh
Copy link

+1

@cirocosta
Copy link

I have the very same use case as @errordeveloper 👍 How did you end up working around it @errordeveloper ?

@jheidecker
Copy link

+1 open to workarounds

@errordeveloper
Copy link
Contributor Author

errordeveloper commented Sep 21, 2017 via email

@megastef
Copy link

Any news for --pid=host in swarm services? We would need it for monitoring agents deployed global service on each swarm node.

@carlwain74
Copy link

Our developers need the PIDs to monitor processing usage within the container. So definitely needed for our deployments

@dazinator
Copy link

I'd like to monitor a service too, using dotnet-counters. This would be a step to enabling sidecars in swarm which would be awesome.

@DeepSkyWonder
Copy link

DeepSkyWonder commented Apr 22, 2024

plus 1 here. Would like to use glances in docker swarm, but for it to see host processes, we need the pid: host option.

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

8 participants