View docker enviroment when using `docker context`
whobutsb opened this issue · comments
Is your feature request related to a problem? Please describe.
I manage quite a few docker hosts and use the docker context
command to switch between the host machines to issue commands. Currently when I use docker context and try to use lazydocker it doesn't show my remote host machine docker environment, it only displays my local host docker elements.
Describe the solution you'd like
When I switch to a different docker host context it would be nice to be able to run lazydocker and see all the docker elements running on that host.
Describe alternatives you've considered
Currently I need to ssh in to the host machine install lazydocker to view the docker elements.
Additional context
docker machine
is now a deprecated method of switching docker hosts and uses the $DOCKER_HOST
variable. docker context
is recommended way of switching hosts, but the $DOCKER_HOST variable is not set when using docker context
command.