My Rough Configuration
For adding in the IT87 driver to Ubuntu, you want to use the it87 kernel module.
For using your graphics card inside of docker, use the nvidia-docker website, at least to start.
I cannot think of much anything else currently that I need to manually modify…. Just look over your starred github repos for inspiration…