diff --git a/includes/gs-core.sh b/includes/gs-core.sh index 4e591075..64f98c26 100644 --- a/includes/gs-core.sh +++ b/includes/gs-core.sh @@ -102,7 +102,7 @@ function ph_type { RH_EXEC="${RIHOLE_BIN}" elif [ "$RH_IN_TYPE" == "docker" ] then - RH_EXEC="sudo ${ROCKER_BIN} exec $(sudo ${ROCKER_BIN} ps -qf ${ROCKER_CON}) pihole" + RH_EXEC="sudo ${ROCKER_BIN} exec $(sudo ${ROCKER_BIN} ps -qf name=${ROCKER_CON}) pihole" elif [ "$RH_IN_TYPE" == "podman" ] then RH_EXEC="sudo ${RODMAN_BIN} exec ${ROCKER_CON} pihole" @@ -143,4 +143,4 @@ function start_gs_noconfig { MESSAGE="Evaluating Arguments" echo_stat -} \ No newline at end of file +}