To pass your NVIDIA GPU to the docker container you must do the following
Get your GPU ID
Get your GPU ID from the settings page
Here mine is “GPU-7f326d12-d4c8-4011-9db1-36c47710daf6”
Update the FileFlows Docker
- Inside editing the Docker container (or when adding)
- Switch to Advanced view
- Under “Extra Parameters” insert “–runtime=nvidia”
- Add a custom variable by clicking “Add another Path, Port, Variable, Label or Device”
- Enter the new variable:
Config Type: Variable Name: NVIDIA_VISIBLE_DEVICES Key: NVIDIA_VISIBLE_DEVICES Value: [YOUR GPU UID, EG GPU-7f326d12-d4c8-4011-9db1-36c47710daf6]
- Click Save and apply the changes.
- You should now be able to process videos using your NVIDIA GPU, assuming your GPU supports hardware encoding