The GeoFIS Docker image is available on the GeoFIS repository on Docker Hub.
- Install Docker on your system:
- Run the GeoFIS container:
docker run -ti --rm -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v $HOME/.java/.userPrefs:/home/geofis/.java/.userPrefs \ -v $HOME/Documents:/home/geofis/Documents \ geofis/geofis:latest
-v $HOME/.java/.userPrefs:/home/geofis/.java/.userPrefsto save java preferences between GeoFIS sessions. Assuming that folder “$HOME/.java/.userPrefs” exist on the host.
-v $HOME/Documents:/home/geofis/Documentsto share folder between host and GeoFIS container. Assuming that folder “$HOME/Documents” exist on the host.
snapshottag to run the current development version of GeoFIS.
Training data set are available in folder “/var/lib/geofis/data” inside the container.
By installing GeoFIS you accept the CeCILL free software license agreement
- The GeoFIS container is started but but I don’t see the GeoFIS screen:
You might have an issue with the X11 socket permissions since the default user used by the base image has an user and group ids set to 1000. If you have an Exception:
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable, you can run either create your own base image with the appropriate ids or run
xhost +on your machine and try again.
- Other possible issue:
You might see the warning message in the launching xterm console like below, you can just ignore it.
(java:1): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-fIOFS7ADjn: Connection refused