Post-deployment Procedures and How-to’s
After you are finished with the FindFace Server deployment, perform the procedures below.
In this section:
License Instance
FindFace Server provides several licensing options. Whichever option you choose, you upload the FindFace Server license file via ntls
web interface http://<Host_IP_address>:3185/
.
Refer to the Licensing section to learn about the licensing options available.
Configure Logging
By default, the FindFace Server processes are logged to Docker container logs, which can be accessed via the docker logs
and docker service logs
commands. In addition, Docker uses the json-file logging driver, which stores container logs in JSON files. You can configure Docker to use another logging driver, choosing from the multiple logging mechanisms available. See Logging to learn how to do it.
Useful Docker Commands
In order to efficiently and easily administer FindFace Server, you must have extensive knowledge and skills with Docker. If you’re new to Docker, get started with the commands below. Then explore the Docker documentation for additional skills.
View all Docker containers, including the stopped ones:
docker ps -a
To get a more compact and understandable output, execute:
docker ps -a --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.State}}"
To extend the previous output, execute:
docker ps --format='{{json .}}' | jq
Restart the Docker service:
sudo systemctl restart docker
View a container log if the
journald
logging driver is enabled:journalctl CONTAINER_NAME=<findface-container_name> -f
Stop a Docker container:
docker container stop <container_name>/<container_id>
Stop all Docker containers:
docker container stop $(docker ps -a -q)
Start a Docker container:
docker container start <container_name>/<container_id>
Start all Docker containers:
docker container start $(docker ps -a -q)
Once you made changes to a configuration file, restart a relevant container by executing:
docker container restart <container_name>/<container_id>
Enter a running Docker container to execute a command in it:
docker container exec -it <container_name> /bin/bash