Docker swarm open a port

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

gigatexal

I'm here to learn
Nov 25, 2012
2,913
607
113
Portland, Oregon
alexandarnarayan.com
So I'm a networking noob and new to docker but I couldn't figure out how to do the equivalent of -p 80:80 on a container managed via docker swarm? Could someone point me in the right direction here? Even after I create the overlay network nothing on the same class C network can see the docker container.