1
我試圖在容器周圍玩了幾周後設置了Mesos DNS。 我得到了一些麻煩與DNS,即使它被認爲是「輕,容易」:-s 繼文檔: https://mesosphere.github.io/mesos-dns/docs/在Ubuntu上設置Mesos DNS
https://www.youtube.com/watch?v=Ir3oo62I8n0
http://programmableinfrastructure.com/guides/service-discovery/mesos-dns-haproxy-marathon/
我鑽進幾個問題,第一個是端口53是在我的Ubuntu的使用dnsmask 14.04系統:
$ sudo docker run --net=host -v "/etc/mesos-dns/config.json:/config.json" mesosphere/mesos-dns /mesos-dns -config=/config.json
ERROR: 2015/11/11 13:30:34 generator.go:74: no master
ERROR: 2015/11/11 13:30:34 main.go:65: DNS server failed: Failed to setup "tcp" server: listen tcp 0.0.0.0:53: bind: address already in use
$ sudo netstat -tulpn | grep 53
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1866/dnsmasq
udp 0 0 0.0.0.0:5353 0.0.0.0:* 553/avahi-daemon: r
udp 0 0 0.0.0.0:40367 0.0.0.0:* 553/avahi-daemon: r
udp 0 0 127.0.1.1:53 0.0.0.0:* 1866/dnsmasq
udp6 0 0 :::5353 :::* 553/avahi-daemon: r
udp6 0 0 :::60577 :::* 553/avahi-daemon: r
我不知道什麼牛逼o接下來做什麼?
我也有一個看看:
Setup Mesos-DNS dockerized on a mesos cluster
不會殺死我所有的網絡資源嗎?像wifi接入? –
我把mesos-dns在端口54上聽... –
是的,這太過分了,謝謝。更新帖子。 –