docker daemon exec:"dockerd" :在%PATH%中找不到可执行文件 [英] docker daemon exec: "dockerd" : executable not found in %PATH%

查看:267
本文介绍了docker daemon exec:"dockerd" :在%PATH%中找不到可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行此命令:

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":在%PATH%中找不到可执行文件

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

我正在将win7和docker-toolbox 1.12.2与VM Virtual Box一起使用.

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?

推荐答案

这确实是问题27102 报告:

在Mac和Docker Toolbox的最新稳定Docker上找不到Docker Daemon命令dockerd

(这适用于Mac,但也适用于Windows)

(this is for mac but also applies on Windows)

适用于Mac的Docker可能应该输出不同的消息,此外,我们可能需要检查CLI与守护程序是否在同一主机"上,并根据该消息打印不同的消息(因为如果dockerd运行,守护程序位于远程服务器上.

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

该守护程序在Linux虚拟机中运行,因此您不需要(也不能)手动运行它.鲸鱼已经在顶部栏中了.

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.

这篇关于docker daemon exec:"dockerd" :在%PATH%中找不到可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆