Project

General

Profile

Feature #8015

Updated by Tom Clegg almost 9 years ago

Implement mount points in @crunch-run@ as described here: https://dev.arvados.org/projects/arvados/wiki/Containers_API#Mount-types 

 Approach 

 # Before starting the docker container, build an arv-mount command line and run arv-mount in a new temporary directory 
  
 # Check out any git repositories that are specified to a new temporary directory 
 # Add host bind mounts to the container creation mapping the arv-mount and git temp directories to the desired targets inside the container. 
 # Run the docker container, wait for it to finish container 
 # If When the docker container used one of its mount points as an output directory, record its output (i.e., get the manifest_text from the JSON object in the magic @.arvados#collection@ file, create a new collection, and record the resulting PDH) 
 # Run completes, run "fusermount -u" to unmount the arv-mount directory 
 # Delete any temporary directories git checkouts 

Back