aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/exists.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/exists.go')
-rw-r--r--cmd/podman/exists.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go
index 8a2f78c88..dae48f14b 100644
--- a/cmd/podman/exists.go
+++ b/cmd/podman/exists.go
@@ -29,6 +29,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
imageExistsCommand.InputArgs = args
imageExistsCommand.GlobalFlags = MainGlobalOpts
+ imageExistsCommand.Remote = remoteclient
return imageExistsCmd(&imageExistsCommand)
},
Example: `podman image exists imageID
@@ -42,6 +43,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
containerExistsCommand.InputArgs = args
containerExistsCommand.GlobalFlags = MainGlobalOpts
+ containerExistsCommand.Remote = remoteclient
return containerExistsCmd(&containerExistsCommand)
},
@@ -56,6 +58,7 @@ var (
RunE: func(cmd *cobra.Command, args []string) error {
podExistsCommand.InputArgs = args
podExistsCommand.GlobalFlags = MainGlobalOpts
+ podExistsCommand.Remote = remoteclient
return podExistsCmd(&podExistsCommand)
},
Example: `podman pod exists podID