bcicen / ctop

Top-like interface for container metrics
https://ctop.sh
MIT License
15.56k stars 527 forks source link

Can't connect to docker-desktop #339

Open j-shpartko-tqgg opened 1 year ago

j-shpartko-tqgg commented 1 year ago

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 commented 3 months ago

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