The container shortage is another reason, along with the rebound in energy prices, why inflation is likely to accelerate in the coming months, said Neil Shearing, group chief economist at Capital Economics. Still, he expects the effect on consumer prices to be short lived. Demand for containers will drop if consumers revert to spending less on goods and more on services such as entertainment, Mr. Shearing added.