1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 01:57:32 +08:00
This commit is contained in:
Marcos Nils 2016-11-14 13:59:08 -03:00 committed by GitHub
parent 5dc6687239
commit 8958b240bf

View File

@ -47,5 +47,5 @@ Notes:
### How can I connect to a published port from the outside world?
We're planning to setup a reverse proxy that handles redirection automatically, in the mean time you can use [ngrok](https://ngrok.com) within PWD running `docker run -d --net=host fnichol/ngrok "-log-level debug 127.0.0.1:<port>"` where `"<port>"` is the published service port. After that check the created container logs to look for the *.ngrok.io URL so it can be used in the browser and that's it.
We're planning to setup a reverse proxy that handles redirection automatically, in the meantime you can use [ngrok](https://ngrok.com) within PWD running `docker run -d --net=host fnichol/ngrok "-log-level debug 127.0.0.1:<port>"` where `"<port>"` is the published service port. After that check the created container logs to look for the *.ngrok.io URL so it can be used in the browser and that's it.