-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
在windows下按说明文档docker无法启动,发现以下问题
- error: failed to parse lock file at: /build/tianlu-intel-core/Cargo.lock
- Caused by: failed to parse manifest at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/home-0.5.12/Cargo.toml Caused by: feature edition2024 is required The package requires the Cargo feature called edition2024, but that feature is not stabilized in this version of Cargo (1.75.0 (1d8b05cdd 2023-11-20)).
- requirement安装失败
- 运行后网页报错db文件缺失
进行以下步骤后可正常启动:
- 删除tianlu-intel-core/Cargo.lock
- Dockerfile中rust:1.75-slim-bookworm改成rust:1.92-slim-bookworm
- COPY tianlu_intel_collectors ./tianlu_intel_collectors移动到pip install上面
- 在web_ui\dashboard.py中def get_db_path():开始添加
env_path = os.getenv("TIANLU_DB_PATH")
if env_path and os.path.exists(env_path):
return env_path
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working