Commit 43f0cb1b authored by Andy Shinn's avatar Andy Shinn

note on tagging

parent 3b26417b
...@@ -4,6 +4,8 @@ It's a [dnsmasq][dnsmasq] Docker image. It is only 6 MB in size. It is just an ` ...@@ -4,6 +4,8 @@ It's a [dnsmasq][dnsmasq] Docker image. It is only 6 MB in size. It is just an `
## Usage ## Usage
Use a tag other than `latest` if you are using this image in a production setting. There is at tag for dnsmasq 2.71 (`andyshinn/dnsmasq:2.72`) which is the latest on Alpine Linux 3.2. I will release an updated tag (`andyshinn/dnsmasq:2.75`) when Alpine Linux 3.3 has a stable release.
[dnsmasq][dnsmasq] requires `NET_ADMIN` capabilities to run correctly. Start it with something like `docker run -p 53:53/tcp -p 53:53/udp --cap-add=NET_ADMIN andyshinn/dnsmasq`. [dnsmasq][dnsmasq] requires `NET_ADMIN` capabilities to run correctly. Start it with something like `docker run -p 53:53/tcp -p 53:53/udp --cap-add=NET_ADMIN andyshinn/dnsmasq`.
The configuration is all handled on the command line (no wrapper scripts here). The `ENTRYPOINT` is `dnsmasq -k` to keep it running in the foreground. If you wanted to send requests for an internal domain (such as Consul) you can forward the requests upstream using something like `docker run -p 53:53/tcp -p 53:53/udp --cap-add=NET_ADMIN andyshinn/dnsmasq -S /consul/10.17.0.2`. This will send a request for `redis.service.consul` to `10.17.0.2` The configuration is all handled on the command line (no wrapper scripts here). The `ENTRYPOINT` is `dnsmasq -k` to keep it running in the foreground. If you wanted to send requests for an internal domain (such as Consul) you can forward the requests upstream using something like `docker run -p 53:53/tcp -p 53:53/udp --cap-add=NET_ADMIN andyshinn/dnsmasq -S /consul/10.17.0.2`. This will send a request for `redis.service.consul` to `10.17.0.2`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment