Code Monkey home page Code Monkey logo

Comments (7)

seekincs avatar seekincs commented on May 18, 2024 1

Yes, the tag argument should be set by --build-arg, so thedocker build command should be like

docker build -t fund_strategy --build-arg tag=x86_64-00722032-nanoserver21H2 .

Available tags can be found here.

from qbot.

github-actions avatar github-actions commented on May 18, 2024


Hey @{user}! Welcome to the QBOT repo on Github.

from qbot.

Charmve avatar Charmve commented on May 18, 2024
  1. 基金策略在线分析

需要 node 开发环境: npmnode,点击查看详细操作文档

版本信息(作为参考):

▶ go version
go version go1.20.4 darwin/amd64
~
▶ node --version
v19.7.0
~
▶ npm --version
9.5.0

运行命令

cd pyfunds/fund-strategies

npm install
npm start

或者使用docker运行项目

在项目路径下运行以下命令构建项目的docker镜像

docker build -t fund_strategy .

镜像构建完毕后运行

docker run -dp 8000:8000 fund_strategy --name="fund_strategy_instance"

等待项目启动过程中,可通过以下命令查看启动日志:

docker log -f fund_strategy_instance

启动后,可通过http://locahost:8000访问网页。



👉 详细内容可以参考安装手册 https://ufund-me.github.io/Qbot/#/01-新手指引/Install_guide

from qbot.

Lezcool avatar Lezcool commented on May 18, 2024

as seekincs said.

from qbot.

helloyan avatar helloyan commented on May 18, 2024
root@x:~# docker start add31ae40cc8
Error response from daemon: No such container: add31ae40cc8
Error: failed to start containers: add31ae40cc8
root@x:~# docker run -dp 8000:8000 fund_strategy --name="fund_strategy_instance"
790734da6a4d5f3d34559af9a237c0575a073ab51dd3e9d1dab8c0562b334005
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "--name=fund_strategy_instance": executable file not found in $PATH: unknown.

文档和上面的内容都看了,两种启动方法都报错

from qbot.

Lezcool avatar Lezcool commented on May 18, 2024
```shell
root@x:~# docker start add31ae40cc8
Error response from daemon: No such container: add31ae40cc8
Error: failed to start containers: add31ae40cc8
root@x:~# docker run -dp 8000:8000 fund_strategy --name="fund_strategy_instance"
790734da6a4d5f3d34559af9a237c0575a073ab51dd3e9d1dab8c0562b334005
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "--name=fund_strategy_instance": executable file not found in $PATH: unknown.

文档和上面的内容都看了,两种启动方法都报错

please use Microsoft Qlib instead of this, I don't think this one is ready for use.
https://github.com/microsoft/qlib

from qbot.

xinmans avatar xinmans commented on May 18, 2024
```shell
docker build -t fund_strategy --build-arg tag=x86_64-00722032-nanoserver21H2 .

(base) PS D:\Qbot> docker build -t fund_strategy --build-arg tag=x86_64-00722032-nanoserver21H2 .
ERROR: failed to read metadata: invalid character '\x00' looking for beginning of value

from qbot.

Related Issues (20)

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.