Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volumes requirement #675

Open
jdidion opened this issue Jul 24, 2024 · 0 comments
Open

Add volumes requirement #675

jdidion opened this issue Jul 24, 2024 · 0 comments

Comments

@jdidion
Copy link
Collaborator

jdidion commented Jul 24, 2024

The disks requirement is intended for mounting empty, read/writable volumes for use by the task. However, there are cases where a task might need access to an existing volume, with e.g. reference genomes.

We should add a volumes requirement that takes a volume spec (string) or list of volume specs and causes those volumes to be mounted read-only in the host environment.

A volume spec is either a path, in which case that path must exist on the host system and is mounted at the same path in the container, or a pair of paths, in which case the first path is the host system path and the second path is the mount point within the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant