Docker Desktop 无法启动,因为它尝试挂载/keybase
以待挂载。
系统:mac os Monterey 12.2.1
错误日志:
tail -f ~/Library/Containers/com.docker.docker/Data/log/vm/docker.log
[064:11:26:57.358][I] try to mount host fileserver
[064:11:26:57.359][I] time="2022-03-05T11:26:57Z" level=info msg="iptables -w -t nat -I desktop -p tcp -d 127.0.0.0/8 -j RETURN"
[064:11:26:57.361][I] waiting for /Users to be mounted
[064:11:26:57.364][I] time="2022-03-05T11:26:57Z" level=info msg="iptables -w -t nat -I desktop -p tcp -d 192.168.65.0/24 -j RETURN"
[064:11:26:57.380][I] time="2022-03-05T11:26:57Z" level=info msg="iptables -w -t nat -I desktop -p tcp -d 192.168.65.5/32 -j RETURN"
[064:11:26:57.395][I] /Users has been mounted
[064:11:26:57.395][I] waiting for /Volumes to be mounted
[064:11:26:57.396][I] /Volumes has been mounted
[064:11:26:57.396][I] waiting for /keybase to be mounted
[064:11:26:58.338][I] 2022/03/05 11:26:58 WARNING: [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: read unix /run/guest-services/filesystem-event.sock->@: read: connection reset by peer"
[064:11:26:59.102][I] still waiting for /keybase to be mounted after 1.007043105s
[064:11:27:00.111][I] still waiting for /keybase to be mounted after 2.0162828s
[064:11:27:01.114][I] still waiting for /keybase to be mounted after 3.019306725s
[064:11:27:02.119][I] still waiting for /keybase to be mounted after 4.02403809s
[064:11:27:03.125][I] still waiting for /keybase to be mounted after 5.030292579s
[064:11:27:04.129][I] still waiting for /keybase to be mounted after 6.033792585s
[064:11:27:05.131][I] still waiting for /keybase to be mounted after 7.03572829s
但是我的 Mac 中没有更多/keybase
路径,即使我将 keybase 集成到 finder 路径,它也位于/Volumes/KeyBase
我的尝试:
- 重新安装 Keybase 并卸载
- 将 Docker 桌面恢复为出厂设置
- 卸载 Docker
- 伪造 /keybase 路径。
sudo mkdir keybase 1 ↵
mkdir: keybase: Read-only file system
我猜 keybase 弄乱了我的 os fs mount 配置,但不知道如何恢复。有人可以帮忙吗?
顺便说一句,这里是打印输出:
zhaidewei@mbp-dewei / mount 1 ↵ 1058 12:36:26
/dev/disk1s5s1 on / (apfs, sealed, local, read-only, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk1s4 on /System/Volumes/VM (apfs, local, noexec, journaled, noatime, nobrowse)
/dev/disk1s2 on /System/Volumes/Preboot (apfs, local, journaled, nobrowse)
/dev/disk1s6 on /System/Volumes/Update (apfs, local, journaled, nobrowse)
/dev/disk1s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse)
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
/dev/disk2s1 on /Volumes/Docker (hfs, local, nodev, nosuid, read-only, noowners, quarantine, mounted by zhaidewei)
zhaidewei@mbp-dewei / diskutil list 127 ↵ 1060 12:40:21
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 250.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD - Data 79.4 GB disk1s1
2: APFS Volume Preboot 303.4 MB disk1s2
3: APFS Volume Recovery 1.1 GB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
5: APFS Volume Macintosh HD 15.8 GB disk1s5
6: APFS Snapshot com.apple.os.update-... 15.8 GB disk1s5s1
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS Docker 2.0 GB disk2s1
提前致谢!