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

doesn't work with docker in swarm mode ? #1311

Closed
marcwaz opened this issue Aug 27, 2018 · 3 comments
Closed

doesn't work with docker in swarm mode ? #1311

marcwaz opened this issue Aug 27, 2018 · 3 comments

Comments

@marcwaz
Copy link

marcwaz commented Aug 27, 2018

The option --pid host seems to be mandatory in order to use glances with docker. However docker in swarm mode is not supporting this option.

Is it possible to use glances without --pid host option ?

If not, it means that glances is currently not supporting docker in swarm mode, right !?

@nicolargo
Copy link
Owner

Never tested...
What is the error message /log ?

@marcwaz
Copy link
Author

marcwaz commented Aug 27, 2018

A good news: if you remove the --pid host option, it works.
However you are loosing the list of processes running on the host. You just see the processes running inside the glances container itself, which is not really interesting..
The rest of information are correct.
Is there another way in order to see processes running on the host without --pid host option ?

@nicolargo
Copy link
Owner

Confirmed here: docker/docs#5624

Docker in swarm mode is not compatible with --pid option...

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

2 participants