Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matzew opened this issue Jul 19, 2024 · 5 comments

Comments

@matzew
Copy link
Member

matzew commented Jul 19, 2024

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
Copy link
Contributor

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

@matzew
Copy link
Member Author

matzew commented Jul 24, 2024

@matejvasek why was this closed? Was this fixed?

@lkingland
Copy link
Member

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?

Copy link
Contributor

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 github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 20, 2024
@matejvasek
Copy link
Contributor

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

@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants