Is there a way to configure Portainer's dashboard to show Minikube's docker?
Portainer
Installed in the local docker (toolbox), on VM under windows 7; the dashboard connection to the local (inside) docker is working fine.
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
Minikube
Installed in another VM on the same machine with a different port.
c:/users/<myusername>/.minikube/certs
but keep getting an error on the dashboard tab:
Failed to load resource: the server responded with a status of 502 (Bad Gateway)
I'm getting the same error also when configuring the Endpoint without TLS.
Is it possible to configure Portainer to work with Minikube's Docker?
Are you sure that the Docker API is exposed in the Minikube configuration?
Failed to load resource: the server responded with a status of 502 (Bad Gateway)
This error is generally raised when Portainer cannot proxy requests to the Docker API.
A simple way to verify that would be to use the Docker CLI and check if Minikube's Docker API is exposed:
docker -H minikubeIp:2375 info
If this is returning a connection error, that means that the Docker API is not exposed and thus, Portainer will not be able to connect to it.