This stems from a need for a step run in a container to have a port exposed that can be connected to from an external testing service whilst it is running.
By default docker compose run does not create the service ports so this adds a configuration to optionally to add the --service-portsoption which enables the service ports and maps them to the host.
This stems from a need for a step run in a container to have a port exposed that can be connected to from an external testing service whilst it is running.
By default
docker compose run
does not create the service ports so this adds a configuration to optionally to add the--service-ports
option which enables the service ports and maps them to the host.The default run configuration is not affected.