Confined p-band Bose-Einstein condensates