pecigonzalo / docker-machine-vmwareworkstation

VMWare Workstation driver for Docker Machine https://github.com/docker/machine
Apache License 2.0
363 stars 67 forks source link

Documentation or example for Cloud-init usage? #69

Open carlo-quinonez opened 5 years ago

carlo-quinonez commented 5 years ago

Looking through the code, there's an option for specifying a cloud-init configuration. Judging from the rest of the code, it's not as simple as passing a cloudinit file and some of the setup, like mounting of shared drives, seems to be skipped if this parameter is specified.

I was wondering if there's any documentation on this feature or an example of a working configdrive? I've used cloudinit scripts to setup EC2 VMs on AWS, and it would be great if we could leverage cloud-init to setup our docker machine as well.

Regards, Carlo

pecigonzalo commented 4 years ago

@carlo-quinonez It works similar to https://coreos.com/os/docs/latest/config-drive.html, its a feature of boot2docker and not of this particular driver. Unfortunately there isnt a lot of documentation around it.