From a83d1a27721162757808bc6c4f365ba1d2ec7510 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 24 Apr 2020 16:25:56 -0400 Subject: Make podman container list == podman ps Also make podman create -p PUBLISHPorts work. This PR fixes ps_test.go Signed-off-by: Daniel J Walsh --- pkg/ps/ps.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/ps') diff --git a/pkg/ps/ps.go b/pkg/ps/ps.go index d0fef65c8..907063df9 100644 --- a/pkg/ps/ps.go +++ b/pkg/ps/ps.go @@ -158,6 +158,7 @@ func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities ExitedAt: exitedTime.Unix(), ID: conConfig.ID, Image: conConfig.RootfsImageName, + ImageID: conConfig.RootfsImageID, IsInfra: conConfig.IsInfra, Labels: conConfig.Labels, Mounts: ctr.UserVolumes(), -- cgit v1.2.3-54-g00ecf