Moving completed files from docker container to host
Posted: Mon Jan 03, 2022 3:23 am
So I've got transmission running in a docker container. I want to use an after-done script to move the completed downloads to a file on the local host after the download completes. However I'm not sure how to move a file outside of the container.
Now, the completed folder is mapped to a local drive, so I can see the files just fine in the local system, so I can manually copy them, but I want it to be automated after the download completes. But since the script is being run inside the container, it has no access to the local file systems. Any way to accomplish this?
Now, the completed folder is mapped to a local drive, so I can see the files just fine in the local system, so I can manually copy them, but I want it to be automated after the download completes. But since the script is being run inside the container, it has no access to the local file systems. Any way to accomplish this?