vwmaus / model-reproducibility

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

Docker Image Volume Share #12

Closed ptrkrnstnr closed 6 years ago

ptrkrnstnr commented 6 years ago

@vwmaus provide an output directory for the script result to access from outside.

vwmaus commented 6 years ago

To avoid conflicts I will adapt the docker template in the new project structure. @ptrkrnstnr can you open a pull request with your most recent changes?

ptrkrnstnr commented 6 years ago

Hello!

I don’t have any changes right now. I didn’t got much time this week to get forward…

Right now I’m struggling around with the geonode installation since 3 hours…

The first big problem was that windows doesn’t know the „make“ command. So I installed the linux package as a workaround.

The Makefile can be read now but i’m facing some errors when i want to execute the commands of the readme file.

Make build – does work without errors

Make up – does not work, so i tried the alias command of the makefile.

I’m receiving the following errors:

PS D:\GitRepo\Geonode> make up

bring up the services

process_begin: CreateProcess(NULL, # bring up the services, ...) failed.

make (e=2): Das System kann die angegebene Datei nicht finden.

make: *** [up] Fehler 2

PS D:\GitRepo\Geonode> docker-compose up -d

Building geonode

ERROR: Cannot locate specified Dockerfile: Dockerfile

PS D:\GitRepo\Geonode>

Right now i don’t know how to fix this issues…

Thank you for your help!

Best, Peter

Von: Victor Maus [mailto:notifications@github.com] Gesendet: Mittwoch, 8. November 2017 09:51 An: vwmaus/model-reproducibility model-reproducibility@noreply.github.com Cc: ptrkrnstnr peter.kronsteiner@gmx.net; Mention mention@noreply.github.com Betreff: Re: [vwmaus/model-reproducibility] Docker Image Volume Share (#12)

To avoid conflicts I will adapt the docker template in the new project structure. @ptrkrnstnr https://github.com/ptrkrnstnr can you open a pull request with your most recent changes?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vwmaus/model-reproducibility/issues/12#issuecomment-342750751 , or mute the thread https://github.com/notifications/unsubscribe-auth/AfT9nwM3SW0TrX-_Bxrp3qW07IJj6ochks5s0WtcgaJpZM4QRJKZ . https://github.com/notifications/beacon/AfT9n5HdJBHVXOgEMhWIHFWdObV_Z5OCks5s0WtcgaJpZM4QRJKZ.gif


Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

ptrkrnstnr commented 6 years ago

cd -> Dockerfile directory

docker build -t custom_imagename .

// shared volume between hostmachine and docker container // docker run -v : --name docker run -v C:\Users\peter\Documents\Source\model-reproducibility\WebInterface\Output\output:/outputDate --name modelcontainer modelimage

// Dockerfile ausführen docker build --network geonode_default -t test_iiasagams .

// Access to output docker run -v : --name docker run -v D:/GitRepo/OutputPath_IIASA:/output --name iiasa_test_container test_iiasagams