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

Can't connect to docker-desktop #339

Open
j-shpartko-tqgg opened this issue Jul 26, 2023 · 1 comment
Open

Can't connect to docker-desktop #339

j-shpartko-tqgg opened this issue Jul 26, 2023 · 1 comment

Comments

@j-shpartko-tqgg
Copy link

The option Settings -> Advanced -> Allow the default Docker socket to be used is not exist anymore in docker-desktop configuration.

How to connect to other sockets now?

https://devops.stackexchange.com/a/18108/41249

@mortgagemetrix
Copy link

FYI you can manually set your DOCKER_HOST environment variable using jq:
export DOCKER_HOST=$(docker context inspect | jq -r '.[0].Endpoints.docker.Host')
it takes three beats to connect, but works. In order to switch to a different context, you need to unset the variable:
unset DOCKER_HOST

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

2 participants