automation-tests/cmd/podman/containers
Paul Holzinger c5a928c5b7
ps: --format {{.State}} match docker output
We should return the raw state string without any extra formatting in
this case.
`{{.Status}}` returns the nicely formatted string used in the default ps
output, e.g. `Up 2 seconds ago`, while `{{.State}}` returns the state as
string, e.g. `running`.

This matches the docker output and allows better use in scripts.

Fixes #18244

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-04-24 14:18:26 +02:00
..
attach.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
checkpoint.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
cleanup.go New system tests for conflicting options 2022-12-21 06:23:29 -05:00
clone.go implement podman update 2022-09-01 13:02:01 -04:00
commit.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
container.go bump go module to version 4 2022-01-18 12:47:07 +01:00
cp.go podman cp: fix copying with "." suffix 2022-11-14 09:38:02 +01:00
create.go Support running nested SELinux container separation 2023-03-13 14:21:12 -04:00
diff.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exec.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
exists.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
export.go Run make codespell 2023-03-21 16:00:54 -04:00
init.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
kill.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
list.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
mount.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
pause.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
port.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
prune.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
ps.go ps: --format {{.State}} match docker output 2023-04-24 14:18:26 +02:00
rename.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
restart.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
restore.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
rm.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
run.go bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
runlabel.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
start.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
stats.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
stop.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
top.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
unmount.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
unpause.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
update.go Fix default handling of pids-limit 2023-01-27 23:19:44 -06:00
wait.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00