nlogo file (ogo), only the src folder will contain any files, but we still need to have at least a results folder to store the results of our experiment. In our example, since our project consists of a single.
Copy the contents of your project’s folder to MyDocker.Create a folder named MyDocker in your home directory.Use Finder to go to your home directory: go to Macintosh HD, then to Users and then to the folder with your user name (which should have a house icon).Otherwise, we suggest you to follow Step 1.1 to create a MyDocker folder that you can later navigate to. If that is the case, you can continue to step 2. Therefore, it is important to verify you are able to navigate to the folder that contains your project using command line. Here is a video walkthrough of the steps described below:ĭocker looks for the files existing in the folder where you are when you call the build command. If you want to follow this exact example, you can create an arbitrary BehaviorSpace experiment and save it. nlogo file does not contain any BehaviorSpace experiments, we created one short experiment named ‘test’. ogo is in the src folder and the rest of the folders are empty. Following our suggested directory structure, we created a project folder named MyDocker and it contains the folders data, docs, results, and src. We will use as an example the Wolf Sheep Predation model from the Model Library, which we saved as ogo. nlogo file with your working model with at least one BehaviorSpace experiment saved in it. To start this tutorial, you will need to have Docker installed in your computer, as well as a. The experiment will be executed in Headless mode (no Graphic User Interface – GUI), and the output data will be stored in a folder of your preference. As a result, you will be able to run a BehaviorSpace experiment saved in your.
This tutorial shows how to containerize a NetLogo model in a Docker image.