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