export the right ports from containers