How to change the Docker image installation directory on Mac?

为君一笑 提交于 2021-02-09 10:57:00

问题


Docker images are stored in $HOME/Library/Containers/com.docker.docker/Data but how to move those large files to an external drive for example? I have tried symbolic link, it didn't work. Also I couldn't find the -goption for docker as mentioned here. Any suggestions?


回答1:


All you have to do is go to preferences

Then Disk and click at "move disk image"

Select the folder you want to move to, awaits it completes and you are done.



来源:https://stackoverflow.com/questions/40467032/how-to-change-the-docker-image-installation-directory-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!