Hi all
I'm on a macbook pro with M1 chip. I've installed Docker.app and the lean engine according to the instructions. However, there is no Docker container named lean and when I try to run a local backtest I get the following message:
Johans-MacBook-Pro-2:QuantConnect johan$ lean backtest fundamental_long_short/
Pulling quantconnect/lean:latest...
latest: Pulling from quantconnect/lean
Digest: sha256:85819b4df14ca374ac0158f66fabd46269b1f01c58c034df544aff948704c905
Status: Image is up to date for quantconnect/lean:latest
docker.io/quantconnect/lean:latest
Pulling quantconnect/lean:latest...
latest: Pulling from quantconnect/lean
Digest: sha256:85819b4df14ca374ac0158f66fabd46269b1f01c58c034df544aff948704c905
Status: Image is up to date for quantconnect/lean:latest
docker.io/quantconnect/lean:latest
Error: 404 Client Error for http+docker://localhost/v1.41/images/quantconnect/lean:latest/json: Not Found ("no such image: quantconnect/lean:latest: No such image: quantconnect/lean:latest")
Johans-MacBook-Pro-2:QuantConnect johan$
I used to have a working installation of Docker and lean on this exact computer but suddenly the container disappeared and I re-installed both Docker and lean but can´t get it to work. Any ideas?
Johan
Johan Ekh
Any ideas anyone?
Johan Ekh
Has anyone seen the the error below before when trying to run a local backtest?
Error: 404 Client Error for http+docker://localhost/v1.41/images/quantconnect/lean:latest/json: Not Found ("no such image: quantconnect/lean:latest: No such image: quantconnect/lean:latest")
Ronit Jain
Hey, thanks for reporting the issue and sorry for the delay in response. Are you still facing the issue?
Can you please follow these steps and try again:
You can also join our discord server for quicker resolutions
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Jonathan Wheeler
Johan Ekh Did you ever get this figured out? I'm having the same problem currently.
Jonathan Wheeler
Nevermind, just manually pulling the docker image à la “docker pull quantconnect/lean --platform=linux/amd64” worked.
Johan Ekh
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!