docker_bind/run_rndc.sh

4 lines
125 B
Bash
Executable File

#! /bin/bash
[ -x "$(which docker)" ] && DOCKER=docker
[ -x "$(which podman)" ] && DOCKER=podman
$DOCKER exec bind9 rndc "$@"