~dricottone/container-images

ref: 2cd08baad5738a20fe7666f768229a28a1461d72 container-images/dnsmasq/README.md -rw-r--r-- 446 bytes
2cd08baaDominic Ricottone Logging stack 1 year, 3 months ago
                                                                                
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
29
30
31
32
33
34
# dnsmasq


## Build and Deploy

```
make image
```


### Tags

 + `latest`

----

## Use

Can be used with any container manager toolchain.

Create a hosts file in `$hostsfile`. It should look like:

```
1.2.3.4 example.com www.example.com
```

Try:

```
$conman run --detach --name dnsmasq --restart always \
    --mount type=bind,src=$hostsfile,target=/etc/dnsmasq-hosts,readonly \
    registry.intra.dominic-ricottone.com/dnsmasq:latest
```