I'm using a Dell XPS 13 9370 with a D6000 dock on Ubuntu 18.04.2 LTS and was suffering from the dock resetting every few hours. turning off the wifi seams to have stopped this happening.
this is the thread that lead me to try that
https://plugable.com/2016/06/30/inve...ision-laptops/
good luck!