[GH-ISSUE #236] How to pass JSON config running mageddo.dns with docker run? #95

Closed
opened 2026-02-26 04:34:02 +03:00 by kerem · 1 comment
Owner

Originally created by @Felix-neko on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/236

Hi folks! And thank you for your project, it's really helpful.

I have just one question: how can I pass some JSON config to DNS when I run it with docker run ?

Originally created by @Felix-neko on GitHub (Feb 4, 2022). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/236 Hi folks! And thank you for your project, it's really helpful. I have just one question: how can I pass some JSON config to DNS when I run it with `docker run` ?
kerem closed this issue 2026-02-26 04:34:02 +03:00
Author
Owner

@mageddo commented on GitHub (Feb 25, 2023):

You're welcome. Something like that

docker run -v $PWD/config/:/app/conf/ defreitas/dns-proxy-server

See docker-compose example

<!-- gh-comment-id:1445123649 --> @mageddo commented on GitHub (Feb 25, 2023): You're welcome. Something like that ``` docker run -v $PWD/config/:/app/conf/ defreitas/dns-proxy-server ``` See [docker-compose example][1] [1]: https://github.com/mageddo/dns-proxy-server/tree/master/examples/pre-registered-hosts
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#95
No description provided.