- Install nvidia-docker-plugin
- Reboot (for some reason)
- On the folder with this
docker-compose.yml
file do
docker-compose up
You sould see your Nvidia card info.
Remember to map the devices. This is NOT specified on the documentation but its requiered for this to work.