How to create my own machine driver?

I’d like to create a customized machine driver for my own cloud provision. Is there any documentation for me to get started?

They are standard docker-machine drivers, see github.com/docker/machine .

Cool. So I can also test the driver using docker-machine, I guess. Thanks.