What was the conainment policy for the Korean War?

Drive the communists north of the 38th Parallel and keep them there.