docker daemon exec: “dockerd” : executable not fou

2019-05-23 06:32发布

问题:

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.