Extracted exposing of ports in the StartContainerMojo into its own method.