podman/docs/source/markdown
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
..
links Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
containers-mounts.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
libpod.conf.5.md libpod.conf: clarify `label` description 2020-02-19 11:04:02 +01:00
podman-attach.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-auto-update.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-build.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-commit.1.md Implemented --iidfile for podman commit 2020-03-19 16:32:02 -04:00
podman-container-checkpoint.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-cleanup.1.md Add ability to clean up exec sessions with cleanup 2020-05-20 16:11:05 -04:00
podman-container-exists.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-container-prune.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-restore.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-runlabel.1.md man page cross-reference fixes: part 2 2020-03-11 11:05:37 -06:00
podman-container.1.md
podman-cp.1.md
podman-create.1.md Allow empty host port in --publish flag 2020-06-29 09:33:43 -04:00
podman-diff.1.md
podman-events.1.md podman-events: clarify streaming behaviour 2020-06-10 11:09:12 +02:00
podman-exec.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-export.1.md
podman-generate-kube.1.md
podman-generate-systemd.1.md "pod" was being truncated to "po" in the names of the generated systemd unit files. 2020-06-21 18:19:19 +01:00
podman-generate.1.md Update podman-generate-systemd man page 2020-04-16 09:17:27 -04:00
podman-healthcheck-run.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-healthcheck.1.md
podman-history.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-diff.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-exists.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-image-prune.1.md note for skipping cache image added. 2020-04-15 02:49:47 +00:00
podman-image-sign.1.md codespell: spelling corrections 2019-11-13 08:15:00 +11:00
podman-image-tree.1.md
podman-image-trust.1.md (minor) fix broken links to container-policy.json.5 2020-01-06 08:34:56 -07:00
podman-image.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-images.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-import.1.md
podman-info.1.md add socket information to podman info 2020-06-03 15:20:37 -05:00
podman-init.1.md
podman-inspect.1.md markdown: reword 'podman-inspect' to properly explain '--size' 2020-01-22 10:02:06 -05:00
podman-kill.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-load.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-login.1.md update document login see config.json as valid 2020-06-11 13:24:21 -04:00
podman-logout.1.md fix mandatory parameter in login/logout 2020-02-18 15:30:49 -05:00
podman-logs.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-manifest-add.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-annotate.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-create.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-inspect.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-push.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-remove.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-mount.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network-create.1.md Fixed typo on podman network create man 2020-05-08 13:18:23 +02:00
podman-network-inspect.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network-ls.1.md filter option added to network ls command. 2020-05-20 02:53:47 +00:00
podman-network-rm.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network.1.md
podman-pause.1.md
podman-play-kube.1.md Add support for specifying CNI networks in podman play kube 2020-03-27 10:00:01 +01:00
podman-play.1.md
podman-pod-create.1.md pod create --replace 2020-06-15 15:55:55 +02:00
podman-pod-exists.1.md
podman-pod-inspect.1.md Add --format to pod inspect 2020-05-27 09:48:38 +03:00
podman-pod-kill.1.md
podman-pod-pause.1.md
podman-pod-prune.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-pod-ps.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-pod-restart.1.md
podman-pod-rm.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-start.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-stats.1.md implement pod stats 2020-04-27 12:00:35 +02:00
podman-pod-stop.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-pod-unpause.1.md
podman-pod.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-port.1.md
podman-ps.1.md podman-ps: support image IDs 2020-02-17 15:22:21 +01:00
podman-pull.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-push.1.md Cleanup man pages for pull and push 2020-04-25 06:33:06 -04:00
podman-remote.1.md Fix remote docs 2020-06-18 12:13:46 -04:00
podman-restart.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-rm.1.md Merge pull request #4974 from rhatdan/man 2020-01-28 03:28:18 -08:00
podman-rmi.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-run.1.md Allow empty host port in --publish flag 2020-06-29 09:33:43 -04:00
podman-save.1.md
podman-search.1.md search --limit compatible with docker 2020-05-01 11:20:19 -04:00
podman-start.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-stats.1.md
podman-stop.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-system-connection.1.md V2 podman system connection 2020-06-23 08:18:53 -07:00
podman-system-df.1.md markdown: fix erroneous asterisk markup for options 2020-01-30 06:44:33 -05:00
podman-system-migrate.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-system-prune.1.md docs: fix system-prune markdown; reword for clarity 2020-01-26 07:46:21 -05:00
podman-system-renumber.1.md
podman-system-reset.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-system-service.1.md Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
podman-system.1.md V2 podman system connection 2020-06-23 08:18:53 -07:00
podman-tag.1.md Update `tag` documentation regarding 'alias' usage 2020-01-17 08:51:36 +01:00
podman-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-umount.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-unpause.1.md
podman-unshare.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-untag.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-version.1.md podman version --format ... was not working 2020-05-21 16:31:34 -04:00
podman-volume-create.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-inspect.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-ls.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-prune.1.md
podman-volume-rm.1.md
podman-volume.1.md
podman-wait.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman.1.md V2 podman system connection 2020-06-23 08:18:53 -07:00