mess-nlesc / model

NetLogo code for an agent-basel model
Apache License 2.0
0 stars 0 forks source link

Docker image #2

Closed fdiblen closed 5 months ago

fdiblen commented 9 months ago

We created an aptainer/singularity image here: https://github.com/mess-nlesc/netlogo-container

Apparently, there is already a community maintaining a Docker image here: https://hub.docker.com/r/comses/netlogo

The Docker image can easily be converted to a Singularity image to run on HPC platforms. See: https://github.com/singularityhub/docker2singularity

Maybe we can archive our repository and start using this Docker image which will reduce the number of tools we maintain.

recap commented 8 months ago

I can not seem to find the Dockerfile for this image and hence don't know what goes into the image. Our image we can quickly change netlogo, java/openjdk versions and set java parameters like heap size which need to be specific for our model to run.

fdiblen commented 8 months ago

Here you go: https://github.com/comses/docker-netlogo/blob/main/Dockerfile

fdiblen commented 8 months ago

We can also consider having a similar Dockerfile in this repository.

fdiblen commented 5 months ago

We decided to use comses Docker image mentioned in earlier comments. The Python code introduced in PR #39 also uses this image.