jesusjsc

windows环境下修改docker machine存储路径
# windows环境下修改docker machine存储路径 在Windows下,安装docker前设置...
扫描右侧二维码阅读全文
06
2019/05

windows环境下修改docker machine存储路径

windows环境下修改docker machine存储路径

在Windows下,安装docker前设置环境变量如下:

  • 新建系统变量,设置变量名MACHINE_STORAGE_PATH,设置变量值D:\MACHINE_STORAGE_PATH;

如果不设置MACHINE_STORAGE_PATH环境变量,那么安装后,默认的路径为用户目录\.docker\machine

  • 新建系统变量,设置变量名DOCKER_CERT_PATH,设置变量值%MACHINE_STORAGE_PATH%\certs;

设置该系统变量,那么Kitematic才可以正常运行,否则会出现Certificate directory does not exist的报错。

Last modification:May 27th, 2019 at 06:31 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment