无法启动Docker,致命错误:mkdir /Users/username: 权限被拒绝

huangapple go评论53阅读模式
英文:

Can't start docker, Fatal Error: mkdir /Users/username: permission denied

问题

我不需要翻译的部分:只返回翻译好的部分。

"我不需要翻译的部分:只返回翻译好的部分。"

"我不需要翻译的部分:只返回翻译好的部分。"

"我不需要翻译的部分:只返回翻译好的部分。"

"I had to change my username and home dir , after changing,upon startup I am still receiving an error and docker daemon fails to start."

"更改用户名和主目录后,启动时仍然出现错误,Docker 守护程序无法启动。"

"Docker tries to use the old home directory and has a fatal error resulting in the app crashing"

"Docker 尝试使用旧的主目录,导致致命错误,导致应用程序崩溃"

"Docker uses the correct home directory and starts after a clean install"

"Docker 使用正确的主目录,并在干净安装后启动"

英文:

I had to change my username and home dir , after changing,upon startup I am still receiving an error and docker daemon fails to start.
Docker tries to use the old home directory and has a fatal error resulting in the app crashing

Docker uses the correct home directory and starts after a clean install

答案1

得分: 0

我找到了一个解决方案,我在~/Library/Group\ Containers/group.com.docker/settings.json文件中将dataFolder更改为新的用户名,然后重新启动Docker Desktop。

英文:

I found a solution ,
I changed the dataFolder in the ~/Library/Group\ Containers/group.com.docker/settings.json file to the new user name and start Docker Desktop again.

huangapple
  • 本文由 发表于 2023年2月6日 19:45:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/75360893.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定