使用brew
brew install gnu-sed coreutils
echo "alias sed=\"`which gsed`\"" >> ~/.bash_profile
echo "alias readlink=greadlink" >> ~/.bash_profile
使用brew
brew install gnu-sed coreutils
echo "alias sed=\"`which gsed`\"" >> ~/.bash_profile
echo "alias readlink=greadlink" >> ~/.bash_profile
在終端機內下達下面指令:
defaults write com.apple.screencapture location /Volumes/GoogleDrive/我的雲端硬碟/photos/截圖/
首先查看一下目前空間大小
/Applications/Docker.app/Contents/MacOS/qemu-img info ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
接著調整大小
/Applications/Docker.app/Contents/MacOS/qemu-img resize ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 +20G
調整後,需重新啟動docker
refer:
https://rui.sh/fix-docker-for-mac-no-space-left-on-device-error.html
http://www.jianshu.com/p/2b756f9c10c1