We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To pull my dashboards, I use:
docker run --rm \ --volume "$(pwd)/grafana-dash:/data" \ --network "monitor-net" \ ghcr.io/mpostument/grafana-sync:1.4.10 \ pull-dashboards --apikey="<...>" --directory="/data" --url http://grafana:3000
But this creates a folder owned by root and require to chown it.
What I would like is to have the ability to specify the user as a parameter to the docker run, like:
$ docker run --rm \ --volume "$(pwd)/grafana-dash:/data" \ --network "monitor-net" \ --user 1000:1000 \ ghcr.io/mpostument/grafana-sync:1.4.10 \ pull-dashboards --apikey="<...>" --directory="/data" --url http://grafana:3000 2023/02/02 17:33:43 Pull dashboards command failed open /data/docker-containers.json: permission denied
The text was updated successfully, but these errors were encountered:
Thank you for reporting, i will take a look
Sorry, something went wrong.
No branches or pull requests
To pull my dashboards, I use:
But this creates a folder owned by root and require to chown it.
What I would like is to have the ability to specify the user as a parameter to the docker run, like:
The text was updated successfully, but these errors were encountered: