Docker
For a Linux machine with no screen, using Docker Engine. On a Mac or a Windows computer, use the installer.
1. Start it
- The command
-
docker run -d --name fermi \ --network host \ -v fermi-data:/data \ -v /srv/documents:/documents:ro \ ayerselectronics/fermi --network host- Required. FERMI refuses requests that arrive through a published port (
-p). -v fermi-data:/data- FERMI's index, language model, settings and logs. It survives restarts and updates. Never add it as a document folder.
-v /srv/documents:/documents:ro-
Your documents. Replace
/srv/documentswith your own folder; inside the container it is/documents. The container's unprivileged user must be able to read it.
2. Open it
- In a browser
-
Open
http://localhost:27400on the computer running Docker, then see Getting Started. - Health check
/healthon the same port answers while FERMI is up.
Updating
- Pull, remove, start again
-
Your index and settings stay in thedocker pull ayerselectronics/fermi docker rm -f fermi docker run -d --name fermi \ --network host \ -v fermi-data:/data \ -v /srv/documents:/documents:ro \ ayerselectronics/fermifermi-datavolume. - A host folder for state
- To keep state in a folder on this computer instead of the volume, give that folder to the container's user first.
Getting help
- Docker Hub
- hub.docker.com/r/ayerselectronics/fermi has the tags.
- Something wrong
- Report an issue.