mirror of
https://github.com/11notes/docker-bind.git
synced 2025-11-02 12:53:13 +00:00
switch to custom apk build with tune=large
This commit is contained in:
12
README.md
12
README.md
@@ -1,5 +1,5 @@
|
||||
# Alpine :: Bind (DNS)
|
||||
   
|
||||
    
|
||||
|
||||
Run Bind (DNS) based on Alpine Linux. Small, lightweight, secure and fast 🏔️
|
||||
|
||||
@@ -10,6 +10,9 @@ Run Bind (DNS) based on Alpine Linux. Small, lightweight, secure and fast 🏔
|
||||
## Run
|
||||
```shell
|
||||
docker run --name bind \
|
||||
-p 53:53 \
|
||||
-p 53:53/udp \
|
||||
-p 8053:8053 \
|
||||
-v ../etc:/bind/etc \
|
||||
-v ../var:/bind/var \
|
||||
-d 11notes/bind:[tag]
|
||||
@@ -28,12 +31,13 @@ docker exec bind rootdb
|
||||
| `gid` | 1000 | group id 1000 |
|
||||
| `home` | /bind | home directory of user docker |
|
||||
|
||||
## Parent
|
||||
## Parent image
|
||||
* [11notes/alpine:stable](https://github.com/11notes/docker-alpine)
|
||||
|
||||
## Built with
|
||||
## Built with and thanks to
|
||||
* [bind](https://www.isc.org/downloads/bind)
|
||||
* [Alpine Linux](https://alpinelinux.org)
|
||||
|
||||
## Tips
|
||||
* Don't bind to ports < 1024 (requires root), use NAT/reverse proxy
|
||||
* Only use rootless container runtime (podman, rootless docker)
|
||||
* Don't bind to ports < 1024 (requires root), use NAT/reverse proxy (haproxy, traefik, nginx)
|
||||
Reference in New Issue
Block a user