Publish and examine Container ports on the host
The new publish
argument of behave_utils.docker.Container.__init__()
is, depending on the (non-falsey) value type, equivalent to passing the "--publish-all" or "--publish=" arguments to the docker create
command.
Th new method behave_utils.docker.Container.get_external_ports()
allows examination of the external (address, port) combinations mapped to any given container port.