vwmaus / model-reproducibility

Research Proposal Master Thesis: Improving reproducibility in Earth Science
GNU General Public License v3.0
0 stars 1 forks source link

Todo Interface changes #35

Open ptrkrnstnr opened 6 years ago

ptrkrnstnr commented 6 years ago

Build Button on interface: var host-folder-path = path; var imageName = "{image_name}" + Id; docker build -t <imageName> Dockerfile

Run Button docker run imageName -v {host-folder-path}:/workspace imageName

Download (Image, Result) (wait symbol)

ptrkrnstnr commented 6 years ago

@vwmaus I just discovered a big big problem :( :( of course there is no docker support inside my webinterface container as there is no docker client installed in this container... Therefore I cannot run any docker commands like building or running images in bash... so i cannot start any images inside the webinterface...

vwmaus commented 6 years ago

@ptrkrnstnr no problem the Docker could build and run out of the interface containers. We have to think about how to organize it.

ptrkrnstnr commented 6 years ago

@vwmaus okay good. I already thought about that problem. In the worst case I cannot use the "Run" button directly in the interface. But first of all, I have to share the "Output" folder of the webinterface so that we can access the Dockerfile-model from outside the container. Maybe we can then automate all the commands the user has to do (build image, run image,...) through a batch file or something like that...

ptrkrnstnr commented 6 years ago

@vwmaus maybe there is another solution too: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ (see the last section)