mirror of
https://github.com/11notes/docker-bind.git
synced 2025-11-03 13:23:13 +00:00
889 B
889 B
Alpine :: Bind (DNS)
Run Bind (DNS) based on Alpine Linux. Small, lightweight, secure and fast 🏔️
Volumes
- /bind/etc - Directory of named.conf
- /bind/var - Directory of zone files
Run
docker run --name bind \
-v ../etc:/bind/etc \
-v ../var:/bind/var \
-d 11notes/bind:[tag]
Update root db (will update on start if does not exist)
docker exec bind rootdb
Defaults
| Parameter | Value | Description |
|---|---|---|
user |
docker | user docker |
uid |
1000 | user id 1000 |
gid |
1000 | group id 1000 |
home |
/bind | home directory of user docker |
Parent
Built with
Tips
- Don't bind to ports < 1024 (requires root), use NAT/reverse proxy