Fill the container with good quality potting soil and position it where it receives full sun part of the day. If the peas are vining types, add a support to the container when you plant the seeds.