podmanv2 pod exists

add pod exists for podman v2

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2020-03-20 17:06:27 -05:00
parent 7a095af92a
commit 0feec5de98
5 changed files with 77 additions and 0 deletions

View File

@ -19,6 +19,7 @@ var (
Example: `podman container exists containerID
podman container exists myctr || podman run --name myctr [etc...]`,
RunE: exists,
Args: cobra.ExactArgs(1),
}
)