I just started to work on the help file for StartCommand's portBindings field.

I found the snytax quite confusing because it is different form the syntax of the docker program. In particular, it reverses argument order:

docker run -p Port bindings field
80:8080 8080 80
127.0.0.1:80:8080/tcp 8080/tcp 127.0.0.1:80

I suggest to use the Docker CLI syntax here, optionally allowing white space instead of a colon as the delimiter between host and container part of each binding definition.

@vjuranek If you agree, I'd be happy to create a PR implementing that.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to