首页 新闻 赞助 找找看

Windows Server 2016 安装 Docker 的问题

0
悬赏园豆:30 [已解决问题] 解决于 2018-03-21 21:07

在 Windows Server 2016 上安装 Docker for Windows 之后,运行 docker ps 命令出现下面的的错误提示:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.35/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

请问如何解决这个问题?

dudu的主页 dudu | 高人七级 | 园豆:31075
提问于:2018-03-18 09:18
< >
分享
最佳答案
0

你好,目前在windows server 2016上使用docker for windows,是存在问题的,因为不兼容。如果你想使用docker,请安装docker ee版本,目前docker ee在windows server 2016上是免费使用的。

收获园豆:30
杨老板 | 菜鸟二级 |园豆:414 | 2018-03-21 16:03

使用下面的 PowerShell 命令安装的确可以了

Install-Module DockerProvider -Force
Install-Package Docker -ProviderName DockerProvider -Force
Restart-Computer -Force
dudu | 园豆:31075 (高人七级) | 2018-03-21 21:07
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册