All,
I am learning docker swarm. I created three node swarm. when I do docker node ls all are active and available status.
I create one service of nginx.
docker service create \ --name <SERVICE-NAME> \ --publish published=<PUBLISHED-PORT>,target=<CONTAINER-PORT> \ IMAGE
however i can access nginx through only the node where nginx container is running not from other nodes. what coluld be the possible reason. According to docs i would be able to access nginx through all nodes with opened host port.
I have read all this docker swarm manual but not worked. https://docs.docker.com/engine/swarm/ingress/
ethtool -k ens160 tx-checksum-ip-generic off
above command in all three nodes solved that issue. It's wired.