2

是否有可能将带有“虚拟机磁盘”的docker机器存储在D:驱动器中,因为我在C:驱动器上没有足够的空间。我的意思是,disk现在存储在的文件C:\Users\Gondil\.docker\machine\machines\myvm是否可以将其存储到例如D:\vm?因为当我启动一些容器并且它被整个下载并且它具有例如 10GB 大小时,它对于我的 Sysem SSD 来说是相当大的。

是否有一些配置可以更改已创建机器的目录?

4

1 回答 1

0

You could move all .docker and it's sub-directories to the location on your other disk, then mklink to the location on your other disk. For example:

mklink /D "C:\Users\Gondil\.docker" "D:\vm\.docker"
于 2016-02-05T01:39:44.460 回答