Add support for getting a default port for the container

This is implemented in a plugin so the user can change this if needed.