We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a0fdd commit 5836fa6Copy full SHA for 5836fa6
Makefile
@@ -5,6 +5,16 @@ endif
5
ifeq ($(CONTAINER_CMD),)
6
CONTAINER_CMD:=$(shell docker version >/dev/null 2>&1 && echo docker)
7
endif
8
+# handle the case where podman is present but is (defaulting) to remote and is
9
+# not not functioning correctly. Example: mac platform but no 'podman machine'
10
+# vms are ready
11
+ifeq ($(CONTAINER_CMD),)
12
+ CONTAINER_CMD:=$(shell podman --version >/dev/null 2>&1 && echo podman)
13
+ifneq ($(CONTAINER_CMD),)
14
+$(warning podman detected but 'podman version' failed. \
15
+ this may mean your podman is set up for remote use, but is not working)
16
+endif
17
18
19
BUILD_CMD:=$(CONTAINER_CMD) build $(BUILD_OPTS)
20
PUSH_CMD:=$(CONTAINER_CMD) push $(PUSH_OPTS)
0 commit comments