func icon indicating copy to clipboard operation
func copied to clipboard

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

Open matzew opened this issue 1 year ago • 6 comments

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

matzew avatar Jul 19 '24 09:07 matzew

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

matejvasek avatar Jul 19 '24 11:07 matejvasek

@matejvasek why was this closed? Was this fixed?

matzew avatar Jul 24 '24 07:07 matzew

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?

lkingland avatar Sep 20 '24 05:09 lkingland

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Dec 20 '24 01:12 github-actions[bot]

@matzew did your DOCKER_HOST started with unix:// ?

matejvasek avatar Dec 23 '24 13:12 matejvasek

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Mar 24 '25 01:03 github-actions[bot]