I've been following a tutorial to try and learn docker, however, for some reason I can't seem to access any of the ports it's meant to be opening. For some reason it just times out. Where can I look to get more details on why I'm not able to access this, or otherwise what can I do access the docker container.
Steps done so far:
$ docker run hello-world # works fine
$ docker run -d -P --name static-site prakhar1989/static-site # works and returns a docker container id
$ docker port static-site
443/tcp -> 0.0.0.0:32768
80/tcp -> 0.0.0.0:32769
Then I access one of the host through http://localhost:32768/
but nothing. After reinstalling it doesn't even time out anymore and just says the site can't be reached.
Also, I tried accessing the container directly on those ports but without any success.