Docker swarm servers with CentOS

Hi

I wanted to created a Docker Swarm cluster in which the docker machines are running CentOS or any other OS. How do I do that ?

I see documentation says:

docker-machine create --driver virtualbox default

But it creates servers with different OS other than Centos. How do i create a swarm cluster in which each machine is running Centos ?