Open ptrkrnstnr opened 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...
@ptrkrnstnr no problem the Docker could build and run out of the interface containers. We have to think about how to organize it.
@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...
@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)
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)