[英]unable to pull the selenium/hub image on docker for windows 10
I have installed docker image in windows 10 64-bit. 我已经在Windows 10 64位中安装了Docker映像。 But I just noticed that it's installed in program files instead of program files(X86).
但是我只是注意到它安装在程序文件中,而不是程序文件(X86)中。 I started the window docker services and tried to pull the selenium images in docker hub, but it says the image is not supporting for windows platform.
我启动了窗口docker服务,并尝试在docker hub中提取硒图像,但是它表示该图像不支持Windows平台。
I tried to pull the java-windows image from hub. 我试图从集线器中提取java-windows图像。 I can pull it successfully.
我可以成功拉它。
How can I pull selenium images for windows platform? 如何为Windows平台提取硒图像? where can I find them.
我在哪里可以找到它们。
Docker on windows can not run images which is expecting Linux kernal at the backend OS and reverse is also true. Windows上的Docker无法运行映像,这要求后端操作系统使用Linux内核,反之亦然。
When you run following command : Look for Server OS/Arch (In your case : windows 10 ; you might be getting it as windows/amd64 当您运行以下命令时:查找服务器OS / Arch(在您的情况下:Windows 10;您可能将其获取为Windows / amd64
#>docker version
Client:
Version: 17.06.2-ce
API version: 1.30
Go version: go1.8.3
Git commit: cec0b72
Built: Tue Sep 5 19:57:19 2017
OS/Arch: windows/amd64
Server:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:29 2017
OS/Arch: linux/amd64
Experimental: false
Use Play-With-Docker to experiment: https://labs.play-with-docker.com/ Try to pull the same images here and see if it is able to pull and run it. 使用Play-With-Docker进行实验: https ://labs.play-with-docker.com/在此处尝试拉出相同的图像,看看它是否能够拉出并运行它。
I hope this article can help you : https://www.hanselman.com/blog/DockerAndLinuxContainersOnWindowsWithOrWithoutHyperVVirtualMachines.aspx 我希望本文能为您提供帮助: https : //www.hanselman.com/blog/DockerAndLinuxContainersOnWindowsWithOrWithWithoutHyperVVirtualMachines.aspx
Search for within article: Once I've turned Linux Containers on Windows on within Docker, everything just works and has one less moving part. 在文章中搜索:一旦我在Docker中启用了Windows上的Linux容器,一切都将正常工作,并且移动的一部分也将减少。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.