Hi,I just have a question.When I use docker swarm(version 1.12),I found that I can not create a service with '--network host'.
The command is "docker service create --name test --network host redis redis-server" ,and the error is "Error response from daemon: network host is not eligible for docker services".
Any comments are greatly appreciated!
I have the same problem too.
# docker service create --name demo --network host alpine /bin/sh
Error response from daemon: network host is not eligible for docker services
We REALLY need '--net host' in Docker Swarm, because iptables's NAT module is missing in out company, for security reasons. So all the fancy overlay network is not working for us.
Is this by design or not yet implemented?
+1 need this too.
+1
Most helpful comment
I have the same problem too.
We REALLY need '--net host' in Docker Swarm, because iptables's NAT module is missing in out company, for security reasons. So all the fancy overlay network is not working for us.