The containment policy was based on the belief that communism needed to be contained and isolated, or it would spread to neighboring countries, much like a domino effect. This policy shaped many aspects of American foreign policy, including the Truman Doctrine, the Marshall Plan, and the United States' involvement in conflicts such as the Korean War and the Vietnam War.