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

2019-06-17 03:01发布

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/?

标签: docker
1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-06-17 03:17

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

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

查看更多
登录 后发表回答