Can't connect to docker-desktop
j-shpartko-tqgg opened this issue · 1 comments
j-shpartko-tqgg commented
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?
mortgagemetrix commented
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