Can the docker machines created from one developer workstation using docker-machine commands, be managed from another workstation. I am not looking for a solution involving dock
By using TLS based communication, docker is utilizing two-way SSL verification. In other words, not only does the client verify the server but also the other way round. By creating a docker machine with TLS enabled, you are becoming your own Certificate Authority (CA), and thus you are responsible for managing the SSL certificates. Docker machine does this behind the scenes, but I believe you can manually setup self-signed CA and repoint Docker to use the certs and keys you setup. Thus, instead of sharing a single certificate and key to all developer workstations, issue a unique certificate and private key for every developer signed by the CA private key. The only thing that has to be shared by everyone is the CA certificate, which is public.
The advantage of this is, you can revoke a certificate say once a developer leaves, although this is difficult with self-signed certificates, and it allows accountability where you can check who did what from the logs.
Docker TLS setup.
Becoming your own CA tutorial and certificate revocation
There's an external tool to import/export docker-machines: machine-share.
machine-export <machine-name>
>> exported to <machine-name>.zip
machine-import <machine-name>.zip
>> imported
As an aside, I believe Daniel's solution is superior, but requires a significant investment in tools/workflows. machine-export
should be sufficient in 95% of the cases.