简体   繁体   English

在 windows 服务器 2016 上更新 docker 客户端

[英]Update docker client on windows server 2016

Is there an way to update the docker client (powershell) on windows server 2016. When I type "docker version" in powershell, I get the following output. Is there an way to update the docker client (powershell) on windows server 2016. When I type "docker version" in powershell, I get the following output.

Client:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.5.3
 Git commit:   8e92415
 Built:        Thu May 26 17:08:34 2016
 OS/Arch:      windows/amd64

Server:
 Version:      20.10.9
 API version:  1.41
 Go version:   go1.16.12m2
 Git commit:   9b96ce992b
 Built:        12/21/2021 21:33:06
 OS/Arch:      windows/amd64

I would like to use docker in the Windows Admin Console and have absolutely no idea about how I managed to install this old version in the first place.我想在 Windows 管理控制台中使用 docker 并且完全不知道我是如何设法安装这个旧版本的。

I have already tried several times to reinstall docker, but without success.我已经尝试过几次重新安装docker,但没有成功。

I found out that there was an old version of the binaries under system32.我发现在 system32 下有一个旧版本的二进制文件。 After removing them it worked.删除它们后,它起作用了。

Disclaimer: Do not try this yourself until you are 100% sure what you are doing.免责声明:在您 100% 确定自己在做什么之前,请勿自行尝试。 Be very careful with system files and folders.对系统文件和文件夹要非常小心。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM