epirust icon indicating copy to clipboard operation
epirust copied to clipboard

Docker part in README mentions wrong flag (--rm)

Open chahak13 opened this issue 5 years ago • 0 comments

Hi,

I was looking at epirust and while reading the documentation to run the engine on my local machine, I realised that there is an issue with the docker commands that are mentioned in the README. The docker command to run the engine is shown as

docker run --rm --name epirust-engine epirust-engine /bin/bash -c 'cargo run --release -- -c config/default.json && ls *.csv'

And the next line mentions that the output data should be copied from the container via

docker cp epirust-engine:/engine/<CSV_FILE> .

The docker cp will not work as the --rm flag in the docker run command will immediately delete the container once the engine has finished running. Either the --rm flag should be removed or there should be a volume mounted to the container to store the output to.

PS: The error message on running the current commands is image

chahak13 avatar Oct 08 '20 15:10 chahak13