Docker executor cannot recognize the volumes option.
Opened this issue · 0 comments
danielecook commented
I am trying to get a local setup running for debugging purposes. Data will be staged locally to reduce latency. Unfortunately, the volumes
option for the docker executor does not appear to work.
Current config
[executors.docker]
type = docker
max_workers = 20
image = ####
scratch = /tmp/scratch
include_aws_env = False
volumes = [["/home", "/home"]]
interactive = False
The get_docker_executor_config
does not retrieve volumes currently.
redun/redun/executors/docker.py
Lines 38 to 43 in bcc3370
It may be helpful to throw an error for additional options specified here that cannot be used with the Docker executor.
Additionally, I wonder whether mounting the workflow working directory would be beneficial?
redun/redun/executors/docker.py
Lines 278 to 285 in bcc3370