you can grow it in a container. but you will need to be sure that the roots stay warm enough during the winter. That will mean using a large container. if the cold gets to the roots it may die.
in
zone 5-6, the ground freezes about 6 inches deep. with 3 inches of mulch that is pushed back to 3 inches freeze. that is how plants in regular planters survive.