knative / func

Knative Functions client API and CLI
Apache License 2.0
284 stars 139 forks source link

cannot create docker client: unable to parse docker host `/run/user/1000/podman/podman.sock` #2431

Open matzew opened 4 months ago

matzew commented 4 months ago

Running func deploy -b=s2i -v --build gives me the following error:

Building function image
Error: cannot create docker client: unable to parse docker host `/run/user/1000/podman/podman.sock`

here is he version I am using:

func version
v0.41.0-85-ge08155dd
matejvasek commented 4 months ago

Have you used unix schema? unix:////run/user/1000/podman/podman.sock

matzew commented 4 months ago

@matejvasek why was this closed? Was this fixed?

lkingland commented 2 months ago

I think Matej is perhaps assuming that you have your docker host environment variable set to an absolute path rather than the one prefixed by unix:///, and that updating this would solve the issue?