Detect Docker on non-Linux platforms