docker daemon exec: “dockerd” : executable not found in %PATH%

▼魔方 西西 提交于 2019-12-22 11:33:01

问题


I'm trying to run this command :

docker daemon --insecure-registry 192.168.99.100:5000

but i'm gettin ghe following error:

exec: "dockerd": executable file not found in %PATH%

I'm using win7 and docker-toolbox 1.12.2 with VM Virtual Box.

What is the problem here? there is a way to run this command?


回答1:


That is indeed what issue 27102 report:

Docker Daemon command dockerd not found on latest stable Docker for Mac and Docker Toolbox

(this is for mac but also applies on Windows)

Docker for Mac should probably print a different message, also, we may need to check if the CLI is on the same "host" as the daemon, and print a different message based on that (as running dockerd wont work if the daemon is on a remote server).

the daemon runs in a Linux virtual machine, so you do not need to (and cannot) run it manually. It is already running of the whale is in the top bar.



来源:https://stackoverflow.com/questions/41662287/docker-daemon-exec-dockerd-executable-not-found-in-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!