1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix incorrect https example in mac.md (carry of 11063)

The document referenced https but was using the http port. I changed the
examples from https to http.

Also, fyi, when I tried accessing https using the correct 443 port, it
did not work. I have not investigated why. Port 80 worked fine.

For me:
jay-mac:.ssh jay$ docker port web
80/tcp -> 0.0.0.0:49153
443/tcp -> 0.0.0.0:49154
jay-mac:.ssh jay$ boot2docker ip
192.168.59.103

works: http://192.168.59.103:49153/
fails: https://192.168.59.103:49154/

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2015-02-28 19:53:48 +01:00
parent 1dddf8a9a6
commit 1d4b2524ec

View file

@ -186,7 +186,7 @@ Work through this section to try some practical container tasks using `boot2dock
This tells you that the `web` container's port `80` is mapped to port
`49157` on your Docker host.
4. Enter the `https://localhost:49157` address (`localhost` is `0.0.0.0`) in your browser:
4. Enter the `http://localhost:49157` address (`localhost` is `0.0.0.0`) in your browser:
![Bad Address](/installation/images/bad_host.png)
@ -199,7 +199,7 @@ Work through this section to try some practical container tasks using `boot2dock
$ boot2docker ip
192.168.59.103
6. Enter the `https://192.168.59.103:49157` address in your browser:
6. Enter the `http://192.168.59.103:49157` address in your browser:
![Correct Addressing](/installation/images/good_host.png)