I have built a docker image which generates some data which I would like to transfer to host.

I have built a docker image which generates some data which I would like to transfer to host. I generate some data inside the container and I would like to copy them to ./data after the run. Could someone give a hint or link to how to do this. Thanks
You already invited:

Caleb - Python

Upvotes from:

@Roman  you have two generic direction, one is to use docker cp which enables you copy files from the container to the host, the second is to use a volume and essentially work on your host with your container.

If you wanna answer this question please Login or Register