Give access to Docker Swarm cluster
Okay, here is my situation:
I created a cluster of docker swarm using docker machine. I can deploy any container, etc. So basically everything is working fine. My question right now is how to give access to the cluster to someone else. I want other people to deploy container on that cluster using docker-compose.
One Solution collect form web for “Give access to Docker Swarm cluster”
Docker machine configures the docker engine on each node to be secured using TLS:
The client configuration can be seen when running the “docker-machine config” command, for example the following settings are used to access the remote docker host:
--tlsverify --tlscacert="~/.docker/machine/certs/ca.pem" --tlscert="~/.docker/machine/certs/cert.pem" --tlskey="~/.docker/machine/certs/key.pem" -H=tcp://....
It’s the files under ~/.docker/machine/certs that are needed by other users who want to connect to your swarm.
I expect that docker will eventually create some form of user authentication and authorization.