Skip to content

mac docker: invalid reference format #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Huayu-Qin opened this issue May 22, 2025 · 0 comments
Open

mac docker: invalid reference format #300

Huayu-Qin opened this issue May 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Huayu-Qin
Copy link

Describe the bug
run docker on mac

(base) huayuqin@Huayus-MacBook-Pro ai-hedge-fund % ./run.sh --ticker AAPL,MSFT,NVDA main
Detected Apple Silicon (M-series) - Metal GPU acceleration should be enabled
Running: docker run -it --rm -v /Users/huayuqin/github repos/ai-hedge-fund/.env:/app/.env ai-hedge-fund python src/main.py --ticker AAPL,MSFT,NVDA --initial-cash 100000.0 --margin-requirement 0.0
docker: invalid reference format.
See 'docker run --help'.

Screenshot

Image

Additional context
follow instruction ./run.sh build and ./run.sh --ticker AAPL,MSFT,NVDA main

has add # Set PYTHONPATH to include the app directory ENV PYTHONPATH=/app in Dockerfile

@Huayu-Qin Huayu-Qin added the bug Something isn't working label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant