podman/docs/source
Matthew Heon 3601b96600 Allow empty host port in --publish flag
I didn't believe that this was actually legal, but it looks like
it is. And, unlike our previous understanding (host port being
empty means just use container port), empty host port actually
carries the same meaning as `--expose` + `--publish-all` (that
is, assign a random host port to the given container port). This
requires a significant rework of our port handling code to handle
this new case. I don't foresee this being commonly used, so I
optimized having a fixed port number as fast path, which this
random assignment code running after the main port handling code
only if necessary.

Fixes #6806

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-29 09:33:43 -04:00
..
_static [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
markdown Allow empty host port in --publish flag 2020-06-29 09:33:43 -04:00
Commands.rst Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
Introduction.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Reference.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Tutorials.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
conf.py Restructure documentation dir 2019-10-31 12:31:39 -05:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
includes.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
index.rst Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
managecontainers.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
network.rst docs: fix incomplete heading underlining in network.rst 2020-01-28 06:44:07 -05:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
system.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00