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.

  • How to install docker in docker container?
  • I can't run rails console with Docker and Passenger/nginx image
  • modify a container in stopped state
  • How to deliver dockerized app to client?
  • docker-compose build leads to client and server don't have same version (client : 1.18, server: 1.17)
  • Gcloud push error : ERROR: gcloud crashed (ValueError): No JSON object could be decoded
  • Adding a new NIC to a Docker container in a specific order
  • Linking Local MongoDB Data to Dockerized MongoDB container
  • Close Docker expose port from parent file
  • Auto-completion for kubectl on CoreOS
  • Warning about system root certificate pool crypto/x509
  • How to fix output from tty of Docker for macOS vm?
  • 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.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.