问题
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 -g
option 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