Skip to content
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

cant create config file noip2.conf #4

Open
stratoario opened this issue Mar 2, 2024 · 2 comments
Open

cant create config file noip2.conf #4

stratoario opened this issue Mar 2, 2024 · 2 comments

Comments

@stratoario
Copy link

Hello,

I am getting the error permission denied when trying to create the config file.

IMG_0013

@stratoario
Copy link
Author

Am i doing something wrong? Is the command suppose to be executed as one or split into different commands?

@romeupalos
Copy link
Owner

Hello @stratoario,
You are having this issue because the folder you are mapping is owned by root.
For security reasons, the container doesn't run as root.
You have two options:

  1. (recommended) Use a folder different from /root, that has permission for another user.
  2. If you really want to run from the root folder, add -u root to the command line of docker:
docker run -it --rm -v $(pwd):/usr/local/etc:rw -u root romeupalos/noip -C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants