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 make a postgreSQL image postGIS enabled using a Dockerfile ?
  • How to create Docker-image from my app? It's node.js application that use MongoDB
  • Kubernetes node Device port (USB) maping to POD? Or Swarm service --device mapping
  • Deploying Docker Swarm mode services across multiple failure domains
  • How does it possible that Ubuntu image has only ~100MB?
  • How can I customize a yum .repo file in a Dockerfile so it can be used as a source when installing packages?
  • Amazon ECS private DockerHub repo: Unable to decode provided docker credentials error
  • Docker: how to send a signal from one running container to another one?
  • Networking with Docker on Windows
  • IIS reverse proxy to virtual private ip
  • W: Size of file /var/lib/apt/lists/http.debian.net_debian_dists_jessie_main_binary-amd64_Packages.gz is not what the server reported 9101219 9117278
  • How to connect to MongoDB running in Docker container?
  • 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.