Git Product home page Git Product logo

Comments (1)

lanjackg2003 avatar lanjackg2003 commented on August 18, 2024

B:\IOT\AliOS-Thing\AliOS-Things>docker stop alios-things-build
alios-things-build

B:\IOT\AliOS-Thing\AliOS-Things>docker rm alios-things-build
Error: No such container: alios-things-build

B:\IOT\AliOS-Thing\AliOS-Things>docker run -v B:\IOT\AliOS-Thing\AliOS-Things:/home/alios/AliOS-Things --name alios-things-build -it --rm jacklan/alios-things-docker
alios@d8cdfc578af7:~/AliOS-Things$ aos make helloworld@esp8266
[AliOS-Things] ERROR: not in AliOS-Things source code directory
alios@d8cdfc578af7:/AliOS-Things$ ls
3rdparty README-zh.md app connectivity kernel osal projects tmp_4e
LICENSE README.md board device middleware out security tools
NOTICE alios.bat build doc network platform test utility
alios@d8cdfc578af7:/AliOS-Things$

大佬请教一下,我明明已经再目录下来,提示我不在目录下。没法编译 。我换了电脑,重新pull了镜像还是不行。

你的jacklan/alios-things-docker镜像先pull下来,
docker pull jacklan/alios-things-docker
再执行run的的命令
docker run -v %cd%/AliOS-Things:/home/alios/AliOS-Things --name alios-things-build -it jacklan/alios-things-docker

如果非windows操作系统,而非windows10的情况要注意挂载的路径为虚拟机路径的问题
相关情况可以参考我的博客:
https://blog.csdn.net/lan120576664/article/details/80197396

from alios-things-docker.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.