spiegel_podman/cmd/podman/containers
Sascha Grunert f63bbca4da
Fix ps port output
When defining multiple ports (same src/dst) like `-p 80:80 -p 443:443`
then podman will not show the complete output on `podman ps` (only
`0.0.0.0:80->80/tcp` in the example). This also applies to port ranges.

This patch refactors the port loop by pre-checking for ranges and
displaying them correctly to the end user.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-10-20 17:00:23 +02:00
..
attach.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
checkpoint.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
cleanup.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
commit.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
cp.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
create.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
diff.go Restore "table" --format from V1 2020-10-02 06:58:02 -07:00
exec.go validate fds --preserve-fds 2020-08-04 15:09:17 -04:00
exists.go Add support for external container 2020-10-15 09:51:31 -04:00
export.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
init.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
inspect.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kill.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
list.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
logs.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
mount.go Port commands to V2 --format 'table...' 2020-10-07 10:40:30 -07:00
pause.go Remove SkipIfRootless if possible, document other calls 2020-09-27 07:55:16 -04:00
port.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
prune.go Podman containers/pods prune should throw an error if user adds args 2020-10-01 17:22:51 -04:00
ps.go Fix ps port output 2020-10-20 17:00:23 +02:00
restart.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
restore.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
rm.go This PR allows users to remove external containers directly 2020-10-09 06:06:08 -04:00
run.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
runlabel.go podman container runlabel should pull the image if it does not exist 2020-09-10 10:03:06 -04:00
start.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
stats.go Restore --format: stats & pod ps 2020-10-13 09:08:13 -04:00
stop.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
top.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
unmount.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
unpause.go Remove SkipIfRootless if possible, document other calls 2020-09-27 07:55:16 -04:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go Fix CI breakage due to PR collision 2020-09-15 13:15:17 -06:00