Comments (7)
Have a look here:
http://askubuntu.com/questions/500162/how-do-i-restart-dnsmasq
from docker-dnsmasq.
Thank you @jwulf but I don't see how this applies to my issue?
I'm not looking for (re)starting/stopping the service, I am looking for a way to make them work together.
As I do not know what the consequences are of disabling this service on my laptop I really don't think it's okay just to deactive it.
from docker-dnsmasq.
Do you need the dnsmasq container running to server 127.0.1.1:53? It looks like the default Ubuntu dnsmasq is bound specifically to the loopback interface. Could you do something like specify the specific IP address of the host for the container to listen on (such as -p <ip>:53/tcp -p <ip>:53/udp
)?
from docker-dnsmasq.
yeah that might work pretty well, make the dnsmasq server listen on 172.17.0.1.
Ill try that later on, will report back if it works.
from docker-dnsmasq.
So I've tried the following inside my docker-compose file:
dns:
image: andyshinn/dnsmasq:2.76
cap_drop:
- NET_ADMIN
ports:
- 172.17.0.1:53:53/tcp
- 172.17.0.1:53:53/udp
But the docker container just exits immediately. I have not found out why.
Edit: same goes for 127.0.0.1
from docker-dnsmasq.
OK, that is separate from the port in use issue. That could be related to http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q2/008540.html. You need NET_ADMIN
to do DHCP stuff with dnsmasq and may also need the dhcp-broadcast
option.
from docker-dnsmasq.
Going to close this as the original issue didn't seem like it was part of this image but a port clashing issue. Let me know if there is still a problem being experienced.
from docker-dnsmasq.
Related Issues (20)
- Update to 2.78 HOT 3
- Can't resolve name when the dockerized app and dockerized dnsmasq on the same host HOT 2
- inotifywait dnsmasq.conf althosts -> HUP HOT 1
- Feature: Multiple architectures using manifest HOT 6
- Error starting userland proxy HOT 2
- `cname` not working HOT 4
- Isn't a issue, but it's a question about this image. HOT 1
- Conflicts with systemd-resolved HOT 7
- Some lookups fail. Dockerized dnsmasq unusable. HOT 1
- provide updated images on dockerhub HOT 1
- Root user has no password HOT 1
- Stopped working in docker desktop for mac v2.1.0.0 HOT 3
- Maximum number of concurrent DNS queries reached HOT 6
- Provide dnssec capabilities HOT 4
- Don't work in swarm but in docker-compose HOT 4
- Up for adoption HOT 13
- docker-compose does not work HOT 1
- how can i user this image HOT 1
- push to quay.io HOT 1
- Can't get it to work as DHCP server HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-dnsmasq.