我今天尝试安装docker image来构建我的带有http服务器的esp6288的固件,但是我似乎失败了。
安装docker工具箱。
运行"C:\Program Files\Git\bin\bash.exe“--登录-i "C:\Program Files\Docker Toolbox\start.sh”也称为"Docker快速入门终端“快捷方式
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“(Alpha)
搜索nodemcu-build by marcelstoer单击创建...下载后,运行。查看容器日志:
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/进行操作
打开cmd:转到C:\Users\Jaroslaw (cmd已经在该目录中打开)运行git克隆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服务器。
发布于 2016-07-09 19:47:59
默认的NodeMCU固件可用于创建HTTP服务器。要做到这一点,您不需要再次从源构建固件。
希望这能有所帮助。
要构建自己的固件,只需执行以下操作:
如果你想从最新的源码编译你自己的固件,你可以访问http://nodemcu-build.com,在线编译一个定制的固件,然后通过电子邮件发送给你。
https://stackoverflow.com/questions/38281303
复制相似问题