Currently the only way to use ctop with Docker servers use non-default endpoint unix:///var/run/docker.sock is to set/override DOCKER_HOST environment variable.
Would like to have Docker context-aware support so ctop can work with other Docker servers accordingly:
$ docker context list
NAME DESCRIPTION DOCKER ENDPOINT ERROR
colima * colima unix:///Users/*****/.colima/default/docker.sock
default Current DOCKER_HOST based configuration unix:///var/run/docker.sock
rancher-desktop Rancher Desktop moby context unix:///Users/*****/.rd/docker.sock
$ docker context show
colima
$ docker context use rancher-desktop
rancher-desktop
Current context is now "rancher-desktop"
Currently the only way to use
ctop
with Docker servers use non-default endpointunix:///var/run/docker.sock
is to set/overrideDOCKER_HOST
environment variable.For instance, with
colima
(refs):Would like to have Docker context-aware support so
ctop
can work with other Docker servers accordingly:Feedback is welcome!