fix docker detection