Last Updated: March 01, 2018
· daiqi5477

nvidia docker crash after suspend

Recently, I started to use Nvidia docker on a Ubuntu laptop but find out that the instances uses GPU crashes each time after the laptop resumes from suspend. Nvidia hasn't provide a solution yet but I find a temporary workaround. Instead of going through the headache to reboot the machine, you can shutdown the instances before you suspend the laptop. After you resume from suspend, you can start the instances again and they should work just fine. if you don't stop the instance before the laptop goes into suspend, the only option after resume would probably reboot. (I'm not sure whether restart docker services would solve the issue.)

Say Thanks
Filed Under