You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page https://dashboard.ngrok.com/get-started/setup/docker, it says you should use --net=host, but the host network is available only in Linux, where Docker runs natively. On Mac and Windows, this command will fail, as Docker runs in a VM.
For Mac/Windows you need to use host.docker.internal (which won't work on Linux), e.g.:
docker run --net=host -it -e NGROK_AUTHTOKEN=Y0urS3cr3tK3y ngrok/ngrok:latest http http://host.docker.internal
Alternatively, you need to run your app and ngrok on the same Docker network, such as:
@RichardJECooke Thanks for this! And apologies for the delayed response. I'll just double check this info with the team internally before adding it to the docs 👍
On page https://dashboard.ngrok.com/get-started/setup/docker, it says you should use
--net=host
, but the host network is available only in Linux, where Docker runs natively. On Mac and Windows, this command will fail, as Docker runs in a VM.For Mac/Windows you need to use
host.docker.internal
(which won't work on Linux), e.g.:Alternatively, you need to run your app and ngrok on the same Docker network, such as:
The text was updated successfully, but these errors were encountered: