READ ME FIRST
The easiest way to do the installation is to follow this documentation step by step. This documentation is meant to be read sequentially.
Docker aim is to run an stateless image file on a host. Each time the image is started, starts like it would have never executed.
To keep then the state of the application, a folder from the host should be mounted.
Download the latest recipe here and uncompress it on your computer.
The recipe should contain a Dockerfile.
At the top of the file there are four variables to configure, explained below.
The openBIS distribution to install on the image, you need the build script to the repository and tarball of your choice, or use the default one.
* These passwords will be used by the openBIS installer.
After configuring the Dockerfile you can run the next command that will build on this case the image with the name debian-openbis.
If the process finishes without errors the next command should show between your docker images the new create image.
You need to provide the machine name where the container is going to run using the --hostname option.
Also redirect the endpoint port using the -p option.
To keep the state of the application between runs, you need to redirect the state folders outside, the folders described on the section below will be automatically created.
Modify the command below to match to your machine name and folders.
If everything was configured correctly the console will show at the end a correct openbis and data store server start as shown below and you can then access openBIS at https://bs-mbpr28/openbis/#.
The image get locked waiting for the user to use the docker stop command.
When the user stops the container an ordered shutdown is done to avoid any corruption on the data. Not stopping openBIS and postgres before finishing the container will trigger a recovery step on next startup.
Relevant folders containing the state of the application
This folders contain the state of the application inside the container, both data and logs for auditing the state of your server.
This documentation describes where the original folder was and where has been redirected.