I created a simple container image (asp.net core web api) and tried to create service on swarm cluster
with 3 replicas , it show all three instances running but not accessible on published port from outside.
I checked the service inspect also and it does not have published port information , what I’m missing…
command I’m using to create service is …
docker service create --name web --publish 8080:80 --replicas=3 madhurbhardwaj/web
any help pls