Skip to content
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

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

Open
chahak13 opened this issue Oct 8, 2020 · 0 comments
Open

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

chahak13 opened this issue Oct 8, 2020 · 0 comments

Comments

@chahak13
Copy link

chahak13 commented Oct 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant