Skip to content

Instantly share code, notes, and snippets.

@jonniesweb
Last active October 18, 2020 16:13
Show Gist options
  • Save jonniesweb/d13e5bac6413213e49f3d65ea0e9a0e9 to your computer and use it in GitHub Desktop.
Save jonniesweb/d13e5bac6413213e49f3d65ea0e9a0e9 to your computer and use it in GitHub Desktop.
A configuration file for running Dnsmasq using docker-compose
version: '2'
services:
dns:
image: strm/dnsmasq
volumes:
- ./config/dnsmasq.conf:/etc/dnsmasq.conf
ports:
- "53:53"
network_mode: host
cap_add:
- NET_ADMIN
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment