aboutsummaryrefslogtreecommitdiff
path: root/pkg/ps
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-24 16:25:56 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-27 09:51:26 -0400
commita83d1a27721162757808bc6c4f365ba1d2ec7510 (patch)
treed4c38342f68e55560905c9ededaf7a2416aaffa4 /pkg/ps
parentfdf64f0c66be4569732b830ce60c98f98a7efe64 (diff)
downloadpodman-a83d1a27721162757808bc6c4f365ba1d2ec7510.tar.gz
podman-a83d1a27721162757808bc6c4f365ba1d2ec7510.tar.bz2
podman-a83d1a27721162757808bc6c4f365ba1d2ec7510.zip
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 <dwalsh@redhat.com>
Diffstat (limited to 'pkg/ps')
-rw-r--r--pkg/ps/ps.go1
1 files changed, 1 insertions, 0 deletions
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(),