ngrok for Docker
Heavily leveraged from fnichol/ngrok - Thank You.
Changes to the Dockerfile include:
- Using ADD to get the zip rather than installing and running curl.
- Leveraging the official busybox ubuntu 14.04 image
- Changed from an ENTRYPOINT to a CMD to force use of Env Variables
- Removed EXPOSE 4040
docker run --rm --name ngrok -e "HTTP_PORT=192.168.0.100:8080" centurylink/ngrok
Valid environmental variables are:
View the docker logs for the running container to see the subdomain URL(ngrok.com) assigned to access.
Detailed ngrok instructions here.