How can I make docker-machine create a VM in a spe

2019-06-17 03:05发布

问题:

My development machine is a laptop with a smallish SSD and a huge external disk. Ideally I'd like docker-machine to use the external drive rather than filling up my internal disk.

I know that I can hack it with mounts and so on but is there a way to make the docker-machine command use a directory that I specify instead of defaulting to ~/.docker/machine/?

回答1:

Have you tried this option -s, --storage-path "Configures storage path [$MACHINE_STORAGE_PATH]"?

You can see it in docker-machine --help.



标签: docker