mirror of
https://github.com/11notes/docker-bind.git
synced 2025-11-01 20:33:31 +00:00
639 B
639 B
docker-bind
Dockerfile to create and run your own named process inside an alpine docker container.
Volumes
/bind/etc
Purpose: named config directory
/var/zones
Purpose: zone files directory
Run
docker run --name nginx \
-v volume-etc:/etc/bind \
-v volume-zones:/var/zones:ro \
-d 11notes/bind:latest
Build with
- Alpine Linux - Alpine Linux
- bind/named - bind
Tips
- Permanent Storge with NFS/CIFS/... - Module to store permanent container data via NFS/CIFS/...