-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth token? #4
Comments
Would it be hard to programatically support changing env variable NGROK_AUTH ? |
Ah thanks I cannot test this but it seems like an easy fix. Normally the access right should be fine thanks to this line:
Are you mounting volumes? Running as another user? |
Thanks for the fast answer. Here is my Dockerfile: |
If you specify |
Interesting, I would like the service to be started when the container launches, and don't want the users to manually run the command ngrok start --none. Thanks a lot for your help! |
|
Now I understand better thanks. |
Do you think the other docker images of ngrok (including the ones you forked from) could work out for my use case ? |
I've seen none doing a |
Ah ha! I figure out the problem is.
that will cause error for My workaround fixFirst, I make a Dockerfile for fix this issue
content as follows
(or change it to
then use it
replace Maybe I solution is not the best answer, but works. |
Same shit with ngrok installed from snap on ubuntu 18 laptop: $ ngrok authtoken <token>
ERROR: Failed to save authtoken to configuration file '/home/alex/.ngrok2/ngrok.yml': open /home/alex/.ngrok2/ngrok.yml: permission denied And ok with unzipped one. |
Thanks a lot looks great !!!
How can I add an auth token ?
I tried docker run ngrok-container ngrok authtoken 'authToken' but it writes me:
The text was updated successfully, but these errors were encountered: