Command for starting the container with version 1.0.0:
docker run -d --net [NETWORK-NAME] --name ngrok -e "TARGET_HOST=[CONTAINER-NAME]" -e "TARGET_PORT=[CONTAINER-PORT]" -p 4040:4040 joppsdev/ngrok:1.0.0Command for starting the container with version 2.0.0:
docker run -d --net [NETWORK-NAME] --name ngrok -e "NGROK_AUTHTOKEN=[AUTHTOKEN]" -p 4040:4040 joppsdev/ngrok:2.0.0 http [CONTAINER-NAME]:[CONTAINER-PORT]AUTHTOKEN -> token generated in your NGROK account
NETWORK-NAME -> name of the network where you want the ngrok container to be
CONTAINER-NAME -> name of the container which you want to make public (needs to be the name from inside the network provided above)
CONTAINER-PORT-> port of the container which you want to make public (needs to be the port from inside the network provided above)
Content type
Image
Digest
Size
55.9 MB
Last updated
over 4 years ago
docker pull joppsdev/ngrok