-
Notifications
You must be signed in to change notification settings - Fork 548
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
ggcr: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? #1999
Comments
Another log:
|
|
This is not a bug, your default context is not working.
Otherwise you are asking a feature to have ability to specify docker context in go-containerregistry and in the encore. |
@Rakhmanov If I may ask, how do I modify the default context (your first advice)? UPDATE 1: I tried, but still can't
|
What I got
What I expect
Encore Version
encore version v1.39.5
Suspected Root Cause
The code that thrown the error:
https://github.com/encoredev/encore/blob/f8b785d73b213e01f25bbef44bccc5928b26d7e5/cli/daemon/export/export.go#L133-L147
Which from:
go-containerregistry/pkg/v1/daemon/write.go
Lines 66 to 70 in b8e87ed
Suspected related issues:
daemon.Write
implementation is pretty naive #205Related issues:
encore eject docker <DOCKER_IMAGE_TAG>
encoredev/encore#1316Command
Tried Potential Solution
desktop-Linux
and its mismatch with the error given by encore, I switched it todefault
, and the error was still the same.Let me know if there is any other info you need.
The text was updated successfully, but these errors were encountered: