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.)
Written by daiqi5477
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#