diff --git a/Makefile b/Makefile index 1400ad0..5e6557a 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,8 @@ ifneq ($(GIT_TAG),) endif # Setting container tool -DOCKER_CMD := $(shell which docker 2> /dev/null) -PODMAN_CMD := $(shell which podman 2> /dev/null) +DOCKER_CMD := $(shell command -v docker) +PODMAN_CMD := $(shell command -v podman) ifdef DOCKER_CMD CONTAINER_TOOL = 'docker'