1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| mkdir configs
cat <<EOF>> configs/addresses.conf
EOF
cat <<EOF>> docker-compose.yml version: "2" services: dnsmasq: image: hypc/dnsmasq:2.76-alpine ports: - 53:53/tcp - 53:53/udp restart: always volumes: - ./configs:/etc/dnsmasq.d cap_add: - NET_ADMIN EOF
|