简体   繁体   English

运行docker时遇到错误运行hello-world

[英]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; 在对您的问题进行进一步调查之前,我希望您检查以下内容;

  1. Make sure Virtualization enabled. 确保已启用虚拟化。 you can check it in BIOS configuration. 你可以在BIOS配置中检查它。

  2. In final completion wizard of docker window, you must check "Launch Docker" (it will check by default) 在泊坞窗口的最终完成向导中,您必须选中“启动Docker”(它将默认检查)

  3. 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.

相关问题 Docker:执行'docker run hello-world'命令时出错 - Docker: Error while executing 'docker run hello-world' command docker 中的 Docker:docker 运行 hello-world 错误操作不允许 - Docker in docker : docker run hello-world error operation not permitted Docker运行hello-world不起作用 - Docker run hello-world not working Docker hello-world:身份验证错误 - Docker hello-world: authentication error 在 docker quickstart 终端中运行 docker run hello-world 时,来自守护进程的错误响应“proxyconnect tcp:EOF” - Error response "proxyconnect tcp: EOF" from daemon when running docker run hello-world in docker quickstart terminal sudo docker run hello-world 的 Docker 问题:给出无法找到图像错误:超时 - Docker problem with sudo docker run hello-world: Gives Unable to find image error: Timeout 如何使用 AWS Batch 运行“docker run hello-world” - How to run "docker run hello-world" using AWS Batch docker run hello-world中的错误(守护程序的错误响应:OCI运行时创建失败:) - Error in docker run hello-world (Error response from daemon: OCI runtime create failed:) 运行hello-world的Docker全新安装使错误ERRO [0000]错误等待容器:上下文已取消 - Docker fresh installation running hello-world gives error ERRO[0000] error waiting for container: context canceled docker run hello-world导致“使用不正确”错误:“提供了但未定义的标志:-console” - docker run hello-world results in “Incorrect Usage” error: “flag provided but not defined: -console”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM