So, I have a few docker daemons running in the world. One on my desktop, one on a test server in our local network, and then one in the cloud.
Is there an easy way to switch between them with the docker CLI?
I know about docker-machine, but since the docker hosts already exist, and are already secured with TLS certs, it doesn't really help me.
Do you all just keep the certs for each endpoint somewhere and then just switch endpoints via the environment variables? Do you ssh to the hosts and run the docker commands from there?
I've tried googling and my googlefu is usually quite strong, but it's failed me here. That usually means that I'm asking the wrong question, so any help would be appreciated.
Thanks in advance!