The model of Kreps and Scheinkman where firms choose capacities and then compete in price is extended to oligopoly. Further, capacity is an imperfect commitment device: firms can produce beyond capacities at an additional unit cost θ. When θ is larger than the Cournot price, the Cournot outcome obtains in the unique subgame perfect equilibrium. When θ decreases from the Cournot price towards zero, the whole range of prices, from Cournot to Bertrand, is obtained in equilibrium.