I have a swarm with multiple services running. From most services I am able to ping and access my host network (e.g. the swarm advertise addr network). However, I am not able to do so from services connected to macvlan networks. I have tried to add the host network, but get the following error: “Container cannot be disconnected from host network or connected to host network”. Note that I do not publish any ports on these services.
Is this intended behavior? Why is there seemingly a difference between behavior from services in the same stack? The only difference, as far as I can see (network-wise), is the macvlan connection.
Thanks for your help!