rewrote hdd check to use native docker api