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

Is --net=host mandatory ? iptables problem #136

Closed
trompx opened this issue Oct 13, 2015 · 1 comment
Closed

Is --net=host mandatory ? iptables problem #136

trompx opened this issue Oct 13, 2015 · 1 comment

Comments

@trompx
Copy link

trompx commented Oct 13, 2015

Hello,

As defined here debops/ansible-ferm#63 I use ferm to manage iptables.
As soon as I start a container with the --net=host parameter, I can not update my iptables rules anymore. I get the error :

stderr: iptables v1.4.21: host/network `' not found

Is there a way to start the node_exporter container without --net=host ?

Thanks

@discordianfish
Copy link
Member

This looks like a bug with ferment<->docker, probably happens to all containers started with --net=host..

You can start it without --net=host, but you won't have (host) network metrics. Better to deploy the node-exporter straight to your host, without using docker.

If you have further questions, feel free to send a message to the user mailinglist or join us on IRC: #136

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

2 participants