Changed the way running docker instances are found