-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
host pid mode in swarm mode. #5624
Comments
Correct Opened docker/cli#768 to print a warning if this option is used |
We document limitations about flags in the repo @thaJeztah posted. Thanks! Closing this one. |
Perhaps it still needs a mention in the compose file reference (haven't checked yet) |
It seems like everything but the tasks is working in swarm, and looking into psutils it looks like exposing psutil.PROCFS_PATH through an environment variable or something could allow this to work? |
I just stumbled upon this expected it to work in swarm mode. There is currently no mention of incompatibility with docker swarm in the compose docs. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
Problem description
Swarm mode
doesn't supporthost pid mode
withpid
option?. as my testing It seems not and I couldn't find any information anywhere on that.As I know, the document remarks some different support between
docker-compose
andswarm mode
. however, when it comes to pid, there is no mention about thatpid
option is not supported inswarm mode
. I want a container to share PID namespace with host OS inswarm mode
to manage processes on manager node.This un-support is on purpose?
Problem location
The
top
command show only processes in thecontainer
but host OS.Project version(s) affected
docker 17.09.0-ce
docker-compose 1.17.0
The text was updated successfully, but these errors were encountered: