...
If writing the files out, one should use a mount in the docker container for the destination. While a bind mount might be easiest, if running on a Windows host, one might run into problems. This is easily avoided by using a volume instead. Refer to [to https://docs.docker.com/storage/] for more information.