add wrapper for running named-compilezone, update README
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#! /bin/bash
|
||||
[ -x "$(which docker 2>/dev/null)" ] && DOCKER=docker
|
||||
[ -x "$(which podman 2>/dev/null)" ] && DOCKER=podman
|
||||
$DOCKER exec bind9 named-compilezone "$@"
|
||||
|
||||
$DOCKER run -ti --rm --name=bind9-tools --network=host \
|
||||
-v "$(pwd):$(pwd)" -w "$(pwd)" \
|
||||
docker.io/internetsystemsconsortium/bind9:9.18 named-compilezone "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user