VIDA-NYU / reprozip

ReproZip is a tool that simplifies the process of creating reproducible experiments from command-line executions, a frequently-used common denominator in computational science.
https://www.reprozip.org/
BSD 3-Clause "New" or "Revised" License
305 stars 34 forks source link

Allow using reprounzip without DIRECT access to Docker #169

Open remram44 opened 8 years ago

remram44 commented 8 years ago

By placing the run command in a script in the container instead of passing it to "docker run", it should be usable as ENTRYPOINT. Then you get a minimal Docker image that runs your experiment.

(note: need to go through a Dockerfile to set ENTRYPOINT)

Related to #117, #141

remram44 commented 8 years ago

@seansummers mentioned at DASPOS that having access to the Docker client from reprounzip is unsafe and shouldn't be required. Simply outputting the Dockerfile with the correct ENTRYPOINT and letting the user both build the image and run the container should be an option.