Docker flask cant connect
If on Linux, then http://localhost:5000
should work seeing as the container is both running and listening on port 5000.
Otherwise, you would be using Docker Machine, and so you need to get the IP of the docker virtual machine using docker-machine ip
. On OSX, for example
$ open http://$(docker-machine ip default):5000