Caterpillar interview question

How does the boundary layer develop in a pipe?