Simple continuous deployment with docker compose, docker machine and Gitlab CI
Lars de Ridder

Good article. The docker-machine tools rocks, but it is worth mentioning that Docker Enterprise Edition solves the issue of obtaining the proper certificates for a specific user without hassle.

You can try Docker EE almost instantly on play-with-docker as described on 60 Seconds away from Docker EE. You get a zip bundle from UCP interface easily. Such certificates fit this article’s use case well, of course.