我知道我需要管理员权限才能安装Docker Desktop。但是我必须成为并运行的管理员吗? documentation并没有说我同意,而Googling也没有建议。但是,如果我尝试以非特权用户身份运行该进程,则该进程将立即终止,并且会收到一个事件日志条目,内容为“进程需要提升的权限才能运行”。
我在公司环境中运行Windows 10 Enterprise,并且我们拥有非特权帐户。在这种情况下Docker Desktop是否不可用,或者我是否以某种方式错误地安装了它?
最佳答案
我没有测试过,但是this article似乎表明可以。
TLDR;
问题
The reason for requiring an admin session is that the Docker client in the default configuration uses a named pipe to connect to the Docker engine and that named pipe can only be accessed by administrators
解
To avoid this, you can simple allow your user FullControl access to that named pipe
原始作者还提供了a powershell tool和sources来帮助执行此管理任务。
关于docker - 我可以在没有管理员权限的Windows上运行Docker Desktop吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58663920/