Add remote CentOS to docker-machine

This tutorial shows how to add a remote CentOS to your local docker-machine.

Conditions

Preparation

The first step is to install docker on CentOS 7.

Second step is to setup firewall rules on CentOS 7.

The last step on CentOS 7 is to share ssh public key.

Add CentOS 7 server to docker-machine