Using the FLUKA/Flair docker container
To be able to run FLUKA and Flair on other platforms like Windows 7, *Docker* has to be installed.
1 Install Docker Toolbox
To download and install Docker Toolbox you can follow the instructions on the official Docker website
2 Make the docker directory
Create the C:\Users\docker folder
3 Download the Docker Image and the run_docker.bat
Download the fluka_docker.tar.gz docker image (**LINK NEEDED**) and the run_docker.bat (**LINK NEEDED**) batch file.
Copy both of them to the C:\Users\docker folder
4 Load the Docker image
Start the Docker Quickstart Terminal as administrator and wait until the docker virtual machine is started.
Change directory to C:\Users\docker with the command: cd /c/Users/docker/
Load the image with: docker load -i fluka\_docker\_<version\_number>.tar.gz (Replacing the
5 Install Xming
Xming X Server for Windows is necessary to visualize Flair’s graphical interface.
Download and install the *Public Domain Release* version from http://www.straightrunning.com/XmingNotes/
6 Running FLUKA and Flair
6.1 Running Xming
After the installation the XLaunch app will appear in the Start menu. You need to run this with ticking the *Disable access control* option every time before you launch Flair. (if it’s not running already).
6.2 Docker Quickstart terminal
Start the Docker Quickstart Terminal (if it’s not running already) as administrator and wait until the docker virtual machine is started.
6.3 Launch the run_docker.bat
Change directory to C:\Users\docker and run the *run_docker.bat* batch file with the command: ./run\_docker.bat. This will launch the docker image.
6.4 Running FLUKA and Flair
See the instructions for GNU/Linux.
6.5 Stop the Docker image
After finished working with FLUKA and Flair, use the exit command to stop the Docker image.
6.6 Accessing Docker image in Windows
The C:\Users\docker\fluka folder is automatically created, and it is synced with */fluka* directory in the Docker image automatically.
6.7 Limitations
On Windows by default Docker is configured to have limited CPU cores and memory available to the containers. Only run one simulation job at a time. Parallel jobs might cause errors or hang the container.
6.8 Known issues
- The
Editorfunction of flair is not working. Any text editor on Windows can be used to modify the input files. - Files with spaces in their name not recognized correctly. Renaming these files will solve the problem.
- File permission error on Windows 10 Home. Due to an incompatibility issue between certain Docker Toolbox and VirtualBox versions, the shared docker_work folder is not mounted. Updating to the latest VirtualBox version should solve the issue. Download the *Windows hosts* version from virtualbox.org.