docker image prune # 仅清理镜像 # !危险操作 docker system prune # 要同时清理未使用的镜像、停止的容器、未使用的网络和未挂载的卷 # !危险操作,可能误删 # 尝试删除所有镜像 docker image ls -a | awk '{print $3}' | xargs docker image rm -
TroubleShooting
dockerd
有时候,dockerd 会给出一些错误信息。
1 2
~/code/private-config/nodes/home$ dockerd unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives don't match any configuration option: noProxy
Summary of the differences found corrupted by user's HOME=/root uses root's PATH env vars sudo -i Y Y[2] N sudo -s N Y[2] Y sudo bash N Y[2] Y sudo su Y N[1] Y
ssh -o StrictHostKeyChecking=no # 比如 The authenticity of host '192.168.6.10 (<no hostip for proxy command>)' can't be established. ECDSA key fingerprint is SHA256:Zag81PG/YLKsybs3QAdsea4Sd4gJvwaa+c49X6ts3buM. Are you sure you want to continue connecting (yes/no/[fingerprint])?
PERFORMER "李娜" TITLE "信天游" FILE "CDImage.wav" WAVE TRACK 01 AUDIO TITLE "信天游" PERFORMER "李娜" INDEX 00 00:00:00 INDEX 01 00:00:02 TRACK 02 AUDIO TITLE "风中的承诺" PERFORMER "李娜" INDEX 01 04:41:63 TRACK 03 AUDIO TITLE "我热恋的故乡" PERFORMER "李娜" INDEX 01 09:26:12 TRACK 04 AUDIO TITLE "小小少年" PERFORMER "李娜" INDEX 01 13:36:02 TRACK 05 AUDIO TITLE "小路" PERFORMER "李娜" INDEX 01 17:35:40 TRACK 06 AUDIO TITLE "夏日最后的玫瑰" PERFORMER "李娜" INDEX 01 21:50:21 TRACK 07 AUDIO TITLE "小放牛" PERFORMER "李娜" INDEX 01 24:27:51 TRACK 08 AUDIO TITLE "黄土高坡" PERFORMER "李娜" INDEX 01 28:11:43 TRACK 09 AUDIO TITLE "喀秋莎" PERFORMER "李娜" INDEX 01 32:05:74 TRACK 10 AUDIO TITLE "阿里郎" PERFORMER "李娜" INDEX 01 34:46:50 TRACK 11 AUDIO TITLE "秋风歌" PERFORMER "李娜" INDEX 01 38:13:49 TRACK 12 AUDIO TITLE "康定情歌" PERFORMER "李娜" INDEX 01 42:40:32 TRACK 13 AUDIO TITLE "阿里山的姑娘" PERFORMER "李娜" INDEX 01 45:10:09 TRACK 14 AUDIO TITLE "写不完的爱" PERFORMER "李娜" INDEX 01 48:31:17
目标磁盘尽量格式化为 Mac OS Extended (Journaled),通过 ls /Volumns 查看目标磁盘。
Mac OS
Big Sur
1 2 3 4 5 6 7 8
$ sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/Big\ Sur --nointeraction # "/Volumes/Big\ Sur" 需要定制 # output Erasing disk: 0%... 10%... 20%... 30%... 100% Copying to disk: 0%... 10%... 20%... 30%... 100% Making disk bootable... Install media now available at "/Volumes/Install macOS Big Sur" # 如果不显示进度,尝试重启终端 / 在 Disk Utility 中重新挂在卷