mirror of
https://github.com/ngrok/docker-ngrok.git
synced 2026-05-17 16:50:40 +00:00
983a2f35c37ceea5d71067551db90d0e7e38e746
ngrok agent docker image
Introduction
This repository contains code related to building and releasing the ngrok docker image
Please visit ngrok's website for more information on what ngrok is.
The ngrok agent docs page has more information on how to use the ngrok agent.
Usage
Run an ngrok agent pointed at localhost:80
docker run --net=host -it ngrok/ngrok http 80
Access the web inspector on the host machine at localhost:3000
docker run -it --p 3000:4040 ngrok/ngrok http 80
Run the ngrok agent with auth token 'xyz'
docker run -it e NGROK_AUTHTOKEN=xyz ngrok/ngrok:alpine http 80
Run the ngrok agent with the config file './ngrok.yml' from the host machine
docker run -it -v $(pwd)/ngrok.yml:/etc/ngrok.yml -e NGROK_CONFIG=/etc/ngrok.yml ngrok/ngrok:alpine http 80
Tags
described here
Languages
Nix
89.4%
Shell
10.6%