I’m attempting to perform the Getting Started tutorial Part 3 - Services. All appears to work as expected until I try to use curl to connect to port 80. Essentially curl just hangs with no response. Pointing a web browser (Firefox) at http://localhost/ also fails to get a response. Another Docker user has encountered the same problem, as described in the stackoverflow.com posting below.
The docker images works fine in Part 1 of the tutorial. Only when used in conjunction with the docker-compose.yml file and docker swarm does this problem occur. As suggested in the stackoverflow posting, I tried
docker exec ContainerID /bin/sh
but that action hung as well. Help would be appreciated to get past this problem as I strive to learn. I’m running Docker version 17.03.1-ce, build c6d412e on Fedora 25.