Closed vwmaus closed 6 years ago
@ptrkrnstnr I will change the Docker template for the model to build only the image but not run the model. Otherwise, it will take too long to build larger models. My suggestion is to have the following steps:
docker build -t model-x .
docker run -d --rm -name mdel-x-run model
. This would call the sh script, which runs the model and saves the results to a data volume (e.g. folder). The parameter -d --rm
stop and remove the container immediately after the processing id done. The interface should offer the possibility to download the Dockerfile or the results of the simulation (the model runs only if the user requests the results).
I create the repository for the docker images https://github.com/iiasa/gams-docker. The docker images will be available from Docker Hub as the repository is linked to the IIASA organization on Docker Hub.
One can create a model image based on the IIASA gams image using FROM iiasa/gams:latest
.
I still need to update the templates in the web interface repository.
@ptrkrnstnr I made the GAMS images available in the iiasa organization on docker hub iiasa/gams
The images are automatically built any time a new push cames to the github repository iiasa/gams-docker
Build docker images from template files