There are two options for running FreeFlyer in a Docker container:
- Pros
- Recommended by FreeFlyer
- Correct versions of required packages are easy to install
- Cons
- Requires a RHEL license to use, and account to login
- Pros
- No license required
- Simpler to install
- Cons
- Have to keep better track of versions
- Requires some slightly hacky symlinks
- Not guaranteed to be supported if FreeFlyer changes something
Before doing anything, you will need Docker. This can be installed at: https://www.docker.com/get-started
You will also need the Linux release for FreeFlyer. Once you have an account and have logged in, this can be downloaded at: https://ai-solutions.com/restricted/freeflyer-downloads/
Once you've got it, put it in the top level of this directory.
FreeFlyer is configured to run on RedHat Enterprise Linux (RHEL). You will need to create an account on RedHat Enterprise Linux. You may use a free trial license, or you can purchase a license. This can all be done at: https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux
Once you have your RHEL account, you will need to update the your environment variables. This can be done with:
export FFUSER=<your username>
export FFPASS=<your password>
All of this was built for FreeFlyer 7.6.1. If that changes, you will need to update the redHat
dockerfile accordingly.
Actually building the image should be very straightforward. You can do this by running the following command:
docker build \
--build-arg FFUSER \
--build-arg FFPASS \
-t freeflyer \
-f redHat .
This will use the redHat
dockerfile to build the image, and tag the resulting build with the name freeflyer
.
Note: The line beginning Importing GPG key 0xFD431D51:
may be in red. This is not an issue, and should be fine.
Before doing anything, you will need Docker. This can be installed at: https://www.docker.com/get-started
You will also need the Linux release for FreeFlyer. Once you have an account and have logged in, this can be downloaded at: https://ai-solutions.com/restricted/freeflyer-downloads/
Once you've got it, put it in the top level of this directory.
Actually building the image should be very straightforward. You can do this by running the following command:
docker build \
-t freeflyer \
-f fedora .
This will use the fedora
dockerfile to build the image, and tag the resulting build with the name freeflyer
.
To run the container simply type:
docker run -it --name runningff freeflyer /bin/bash
This will run the container freeflyer
interactively (-it
), call the running container runningff
, and run the /bin/bash
shell.
You can leave again with exit
to exit and stop the container, or with CTRL+p CTRL+q
to exit and leave it running in the background.
To rejoin, you can use docker attach runningff
.
Running ff --version
in the container should return the version if everything is installed correctly. This does not require a license server or mission plan.
- Setup license server (see LicenseServer/README)
ff -de -rls [instance ip] 27000
Refer to https://ai-solutions.com/_help_Files/command_line_reference.htm for additional details.
ff -dss -mp <PATH TO MISSION PLAN>