Search K
Appearance
Appearance
docker pull sameersbn/bind效果
root@N100:/user# docker pull sameersbn/bind
Using default tag: latest
latest: Pulling from sameersbn/bind
d51af753c3d3: Pull complete
fc878cd0a91c: Pull complete
6154df8ff988: Pull complete
fee5db0ff82f: Pull complete
0f1b127174c9: Pull complete
235721daf324: Pull complete
f4928d097319: Downloading [=================================================> ] 82.18MB/83.81MB
f4928d097319: Pull complete
556e764c01c5: Pull complete
0c0db0fec9f4: Pull complete
Digest: sha256:d115ce58bf4666666ad1d328ba49c291085452b5cacb910f087ee12e37d76ca7
Status: Downloaded newer image for sameersbn/bind:latestmkdir /user/dnsdocker run --name bind -d --restart=always --net=host -v /user/dns:/data:rw sameersbn/bind效果
root@N100:~# docker run --name bind -d --restart=always --net=host -v /user/dns:/data:rw sameersbn/bind
801be1d1e771c8037562b37ab0b81008292e2174bb0aba04f91fcc8fdf01a4bd
root@N100:~# docker ps | grep bi
801be1d1e771 sameersbn/bind "/sbin/entrypoint.sh…" 11 seconds ago Up 2 seconds bindroot@N100:~# netstat -ntlp| grep dns
tcp 0 0 172.18.0.1:53 0.0.0.0:* LISTEN 14888/dnsmasq
tcp 0 0 172.17.0.1:53 0.0.0.0:* LISTEN 14888/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 14888/dnsmasq
tcp 0 0 10.6.1.93:53 0.0.0.0:* LISTEN 14888/dnsmasq
tcp 0 0 10.2.1.1:53 0.0.0.0:* LISTEN 14888/dnsmasq
tcp 0 0 fe80::48b1:92ff:fe65:a9ae:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::80a2:78ff:fe8e:6340:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::42:36ff:fe1d:81d8:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::dc2e:b1ff:fee0:5b4b:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::b481:89ff:feae:f3ce:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::543c:55ff:fe1c:da3e:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 fe80::42:34ff:fef1:2f3e:53 :::* LISTEN 14888/dnsmasq
tcp 0 0 ::1:53 :::* LISTEN 14888/dnsmasq
root@N100:~#