A Dockerfile for getdns stubby based on Alpine Linux.
No customization. No tweaks. Just stubby with a default config.
Clone the repo.
git clone https://github.com/mill1000/docker-stubby
Populate submodules.
git submodule update --init --recursive
Build the image.
docker build -t stubby:latest .
Here's an example Docker Compose.
services:
stubby:
image: stubby:latest
container_name: stubby
restart: unless-stopped
network_mode: host
volumes:
- ./stubby/stubby.yml:/usr/local/etc/stubby/stubby.yml