FNNDSC / pman

A process management system written in python
MIT License
22 stars 33 forks source link

AbstractManager interface only allows for one mount. #187

Open jennydaman opened 2 years ago

jennydaman commented 2 years ago

https://github.com/FNNDSC/pman/blob/54e2a4320659f89c09ef041f1b215bcca430162d/pman/abstractmgr.py#L19

https://github.com/FNNDSC/pman/blob/54e2a4320659f89c09ef041f1b215bcca430162d/pman/resources.py#L54-L55

It would be better if multiple mounts were supported, and with mount options, such as mounting a volume read-only v.s. read-write. With DS plugins it is preferred to run them as such

docker run --rm -v /data/in:/incoming:ro -v /data/out:/outgoing:rw fnndsc/pl-whatever whatever /incoming /outgoing