guys,i am studing kedro-docker plugin There is a t...
# questions
j
guys,i am studing kedro-docker plugin There is a tip in github.com/kedro-org/kedro-plugins/tree/main/kedro-docker: Note: The kedro docker run command adds --rm flag to the underlying docker run call, therefore the container will be automatically removed when it exits. Please make sure that you persist all necessary data outside the container at runtime to avoid data loss. I placed all the output result tables outside the container (/tmp/) in catalog.yml, but after executing kedro docker run, I did not see the result table in tmp. Is this normal? If I want to save the output results table, what should I do? Thank you in advance to our enthusiastic community partners!
m
You have to mount a volume to your container:
Copy code
kedro docker run --docker-args "-v <your local path>:/tmp/"
Read about the docker volumes here https://docs.docker.com/storage/volumes/
👍🏼 1
👍 1
j
@marrrcin Thank you so much for your guidance! It seems that I still have to study the docker documentation carefullyT T