summaryrefslogtreecommitdiff
path: root/cmd/podman/registry/config_tunnel.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/registry/config_tunnel.go')
-rw-r--r--cmd/podman/registry/config_tunnel.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/podman/registry/config_tunnel.go b/cmd/podman/registry/config_tunnel.go
index bb3da947e..4f9f51163 100644
--- a/cmd/podman/registry/config_tunnel.go
+++ b/cmd/podman/registry/config_tunnel.go
@@ -2,6 +2,13 @@
package registry
+import (
+ "os"
+)
+
func init() {
abiSupport = false
+
+ // Enforce that podman-remote == podman --remote
+ os.Args = append(os.Args, "--remote")
}