1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 01:57:32 +08:00

Add ngrok instructions.

This commit is contained in:
Marcos Nils 2016-11-14 13:58:32 -03:00 committed by GitHub
parent 9cc0b68305
commit 3631f2fa2e

View File

@ -42,3 +42,10 @@ Notes:
* If you want to override the DIND version or image then set the environmental variable i.e.
`DIND_IMAGE=docker:dind`
## FAQ
### 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.