Closed Gio2241 closed 1 year ago
@kochia7 in slim mode there is no need for a container runtime. It should have installed w/o any error. In fact you should use just this command - dapr init --slim
.
See here for more info - https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-no-docker/
@kochia7 in slim mode there is no need for a container runtime. It should have installed w/o any error. In fact you should use just this command -
dapr init --slim
.See here for more info - https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-no-docker/
Sorry for mistake, I just copied the last command and included the runtime parameter (fixed the post)
Hi @kochia7, this has been fixed in the latest CLI version. Please check.
~ ❯ dapr --version
CLI version: 1.10.0
Runtime version: n/a
Condition: docker is stopped and podman uninstalled.
~ ❯ dapr init --container-runtime podman
⌛ Making the jump to hyperspace...
❌ could not connect to Docker. Docker may not be installed or running
~ ❯ dapr --version
CLI version: 1.11.0-rc.3
Runtime version: n/a
Condition: docker is stopped and podman uninstalled.
~ ❯ dapr init --container-runtime podman
⌛ Making the jump to hyperspace...
❌ could not connect to podman. podman may not be installed or running
However, if I have docker running, I get this error:
~ ❯ dapr init --container-runtime podman
⌛ Making the jump to hyperspace...
ℹ️ Container images will be pulled from Docker Hub
ℹ️ Installing runtime version 1.10.7
❌ Downloading binaries and setting up components...
❌ unable to confirm whether dapr_zipkin is running or exists. error
exec: "podman": executable file not found in $PATH
This is different from what we expect. The root cause is -
Instead of checking for the correct runtime being present or not, we check "either". The check passes because Docker is running, but fails later because podman is not installed.
/cc @pravinpushkar
@shubham1172 yes, this makes sense. We can fix this for 1.12.
When there is no
podman
installed and try to run this command:Going to get this error:
It should be: