mirror of
https://github.com/11notes/docker-bind.git
synced 2025-11-02 21:03:14 +00:00
f7366b03e8a710981e25e26e761a2d66e26ea309
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 also update at container start)
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
- Permanent Storage - Module to store permanent container data via NFS/CIFS and more
Languages
Shell
58.1%
Dockerfile
41.9%