[英]Error while running docker run hello-world
I am new to DOCKER. 我是DOCKER的新手。 I am using Community Edition, stable version on Windows 10 64bit OS.
我在Windows 10 64位操作系统上使用Community Edition,稳定版。
Docker is installed successfully and it is showing status as running. Docker已成功安装,并且显示状态为running。 However when i try below command i get error :
但是,当我尝试下面的命令时,我得到错误:
C:\\Program Files\\Docker\\Docker>docker run hello-world C:\\ Program Files \\ Docker \\ Docker> docker运行hello-world
docker: error during connect: Post http://C:2375/Program%20Files/Docker/Docker/v1.27/containers/create : dial tcp: lookup C: getaddrinfow: No such host is known.. See 'docker run --help'. docker:连接时出错:发布http:// C:2375 / Program%20Files / Docker / Docker / v1.27 / containers / create :dial tcp:lookup C:getaddrinfow:没有这样的主机已知..请参阅'docker run - 救命'。
Docker version is C:\\Program Files\\Docker\\Docker>docker --version Docker版本是C:\\ Program Files \\ Docker \\ Docker> docker --version
Docker version 17.03.1-ce, build c6d412e Docker版本17.03.1-ce,构建c6d412e
can anyone please help? 有人可以帮忙吗?
I recommend you to go for docker tool box if it is for development purpose. 如果是用于开发目的,我建议你去docker工具箱。 I too faced few issues when i was trying to install docker on my Windows 10.
当我尝试在Windows 10上安装docker时,我也遇到了一些问题。
Before go for further investigation about your problem, i want you to check the following; 在对您的问题进行进一步调查之前,我希望您检查以下内容;
Make sure Virtualization enabled. 确保已启用虚拟化。 you can check it in BIOS configuration.
你可以在BIOS配置中检查它。
In final completion wizard of docker window, you must check "Launch Docker" (it will check by default) 在泊坞窗口的最终完成向导中,您必须选中“启动Docker”(它将默认检查)
If you think you installed properly, you should able to see the docker icon in the status bar. 如果您认为安装正确,则应该能够在状态栏中看到docker图标。
If all the above criteria's seems fine, you can run the hello-world program and could able to see the output from docker hub. 如果以上所有条件看起来都很好,您可以运行hello-world程序并且能够看到docker hub的输出。
For more information on how to install docker tool box on you windows. 有关如何在Windows上安装docker工具箱的更多信息。 you can refer the docker tool box for windows
你可以参考docker工具箱中的windows
If you still have any issues, please type the below command on your terminal and send the result 如果您仍有任何问题,请在终端上输入以下命令并发送结果
"docker info"
“码头信息”
Hope this will help for you! 希望这对你有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.