summaryrefslogtreecommitdiff
path: root/cmd/podman/pod.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-12-01 13:51:58 -0600
committerbaude <bbaude@redhat.com>2018-12-03 12:00:18 -0600
commit318bf7017bcb82da9f73cfce9e3a963b61252788 (patch)
treea572d02d29dacb4ad9b59887e7f8a7daac722b24 /cmd/podman/pod.go
parent5bb66a47a46ea3cd66a86889d39b57bb28256c7a (diff)
downloadpodman-318bf7017bcb82da9f73cfce9e3a963b61252788.tar.gz
podman-318bf7017bcb82da9f73cfce9e3a963b61252788.tar.bz2
podman-318bf7017bcb82da9f73cfce9e3a963b61252788.zip
podman pod exists
like containers and images, users would benefit from being able to check if a pod exists in local storage. if the pod exists, the return code is 0. if the pod does not exists, the return code is 1. Any other return code indicates a real errors, such as permissions or runtime. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/pod.go')
-rw-r--r--cmd/podman/pod.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/pod.go b/cmd/podman/pod.go
index 0c6ec5e8c..a30361134 100644
--- a/cmd/podman/pod.go
+++ b/cmd/podman/pod.go
@@ -11,6 +11,7 @@ Pods are a group of one or more containers sharing the same network, pid and ipc
`
podSubCommands = []cli.Command{
podCreateCommand,
+ podExistsCommand,
podInspectCommand,
podKillCommand,
podPauseCommand,