Comments (7)
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.
Hey @{user}! Welcome to the QBOT repo on Github.
from qbot.
- 基金策略在线分析
需要 node 开发环境: npm
、node
,点击查看详细操作文档
版本信息(作为参考):
▶ 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.
as seekincs said.
from qbot.
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.
```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.
```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)
- 🌈 2023-06-13 来自Qbot的今日AI选股推送
- 🌈 2023-06-13 来自Qbot的今日AI选股推送
- 🌈 2023-06-16 来自Qbot的今日AI选股推送
- 有没有docker版本 HOT 6
- print("在线回测属于付费功能,请联系微信:Yida_Zhang2") HOT 2
- SetuptoolsDeprecationWarning: Invalid dash-separated options HOT 2
- python 的版本应该是对的,但是在运行的时候还是报了个版本不对的,详情麻烦看下 HOT 1
- 使用gitpod安装依赖报错 HOT 1
- python3.9版本安装talib运行qbot_main后报错 HOT 2
- python: can't open file '/usr/local/anaconda3/bin/python': [Errno 2] No such file or directory HOT 2
- 你缝合了这么多东西,好歹写个引用出处啊 HOT 6
- 交易策略在线交易板块登录404 HOT 3
- Many bugs when requirement installing HOT 2
- 居然看到了我的investool HOT 2
- 构建项目的docker镜像失败 HOT 2
- 支持期货交易吗?
- support rllib?
- 请问是否支持部署在云服务器CentOS上面 HOT 3
- Windows环境下安装Python依赖时报错 HOT 1
- MacOS 14.1.1 (23B81) 安装遇到的几个问题,目前已成功启动 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qbot.