mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-20 12:57:35 +00:00
Move the handling of Publish key to a method use --publish instead of -p Use the new method for both .container and .kube files Adjust .container tests Add .kube tests Update the man page Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
28 lines
760 B
Text
28 lines
760 B
Text
[Container]
|
|
Image=localhost/imagename
|
|
## assert-podman-args --publish [::1]:80:90
|
|
PublishPort=[::1]:80:90
|
|
|
|
## assert-podman-args --publish [::]:80:91
|
|
PublishPort=[::]:80:91
|
|
|
|
## assert-podman-args --publish [2001:DB8::23]:80:91
|
|
PublishPort=[2001:DB8::23]:80:91
|
|
|
|
## assert-podman-args --publish [::1]::93
|
|
PublishPort=[::1]::93
|
|
|
|
## assert-podman-args --publish [::]::94
|
|
PublishPort=[::]::94
|
|
|
|
## assert-podman-args --publish [2001:db8::42]::94
|
|
PublishPort=[2001:db8::42]::94
|
|
|
|
## assert-podman-args --publish [::1]:1234:1234/udp
|
|
PublishPort=[::1]:1234:1234/udp
|
|
|
|
## assert-podman-args --publish [::1]:1234:1234/tcp
|
|
PublishPort=[::1]:1234:1234/tcp
|
|
|
|
## assert-podman-args --publish [2001:db8:c0:ff:ee::1]:1234:1234/udp
|
|
PublishPort=[2001:db8:c0:ff:ee::1]:1234:1234/udp
|