【发布时间】:2016-11-11 21:17:33
【问题描述】:
我今天尝试安装 docker 映像以使用 http 服务器为 esp6288 构建我的固件,看来我失败了。
安装 docker 工具箱。
运行 "C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh" aka "Docker Quickstart Terminal" 快捷方式
See:
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
Start interactive shell
Jaroslaw@lpatop MINGW64 ~
$
运行“C:\Program Files\Docker Toolbox\kitematic\Kitematic.exe”又名 Kitematic (Alpha)
通过 marcelstoer 搜索 nodemcu-build 单击创建... 下载后运行。 查看容器日志:
fatal: Not a git repository (or any of the parent directories): .git
cp: cannot stat 'tools/esp-open-sdk.tar.gz': No such file or directory
按照https://hub.docker.com/r/marcelstoer/nodemcu-build/进行:
打开命令: 转到 C:\Users\Jaroslaw(cmd 已经在该目录中打开) 运行 git clone https://github.com/nodemcu/nodemcu-firmware.git 看,文件夹在那里。 进入那个文件夹。 运行:
docker run --rm -ti -v //c/Users/Jaroslaw/nodemcu-firmware:/opt/nodemcu-firmware marcelstoer/nodemcu-build
查看输出:
docker: An error occurred trying to connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/containers/create: open //./pipe/docker_engine: The system cannot find the file specified..
See 'docker run --help'.
你能告诉我我应该怎么做才能完成这项工作吗?我很高兴开始构建我的通用 IoT 单元,用于我的家庭用途,并带有板载 http 服务器。
【问题讨论】: