Hi, what is the docker command that "lean backtest" command runs? I'm trying to run it manually so I can configure it with other docker services. I tried to get the "docker run" command with the tool mentioned here which gives me the following, but it didn't give the same output.

docker run `
--name=lean_cli_vsdbg `
--hostname=COMPUTER-01 `
--mac-address=02:a2:cf:81:00:02 `
--env=DOTNET_NOLOGO=true `
--env=DOTNET_CLI_TELEMETRY_OPTOUT=true `
--env=PATH=/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin `
--env=DEBIAN_FRONTEND=teletype `
--env=LANG=en_US.UTF-8 `
--env=LANGUAGE=en_US:en `
--env=LC_ALL=en_US.UTF-8 `
--env=CONDA=Miniconda3-4.5.12-Linux-x86_64.sh `
--env=PIP_DEFAULT_TIMEOUT=120 `
--env=PYTHONNET_PYDLL=/opt/miniconda3/lib/libpython3.6m.so `
--volume='C:\Projects\lean-cloud\data:/Lean/Data:rw' `
--volume='C:\Projects\lean-cloud\proj\backtests\2021-06-08_21-38-27:/Results:rw' `
--volume='C:\Projects\lean-cloud\proj\storage:/Storage:rw' `
--volume='C:\Users\user\AppData\Local\Temp\lean-cli-chpf547q:/LeanCLI:rw' `
--volume=lean_cli_nuget:/root/.nuget/packages:rw `
--volume=/Lean/Data `
--volume=/LeanCLI `
--volume=/Results `
--volume=/Storage `
--volume=/root/.nuget/packages `
--workdir=/Lean/Launcher/bin/Debug `
--detach=true `
-t quantconnect/lean:latest

One suggestion: If you can include the "docker run" command in the --verbose switch that would be great.

 

Thanks,
Omid

Author