If you want to grow alliums in pots, opt for smaller varieties such as Allium 'Purple Sensation', Allium 'Millenium' or ...