diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-11 14:09:41 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-11 14:09:41 -0500 |
commit | a36e8d8eaa94458325afe19d7af7f29bf7fffbcd (patch) | |
tree | ead87dbfdd976a15f1810b6e559aeb83baf41093 /cmd | |
parent | 7837bf3c071f1259bc08d8f9e52ed2b4edbda428 (diff) | |
download | podman-a36e8d8eaa94458325afe19d7af7f29bf7fffbcd.tar.gz podman-a36e8d8eaa94458325afe19d7af7f29bf7fffbcd.tar.bz2 podman-a36e8d8eaa94458325afe19d7af7f29bf7fffbcd.zip |
add port to podman remote command
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/containers/port.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/containers/port.go b/cmd/podman/containers/port.go index ec0ddf838..d058a6aaf 100644 --- a/cmd/podman/containers/port.go +++ b/cmd/podman/containers/port.go @@ -57,7 +57,7 @@ func portFlags(flags *pflag.FlagSet) { func init() { registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode}, + Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: portCommand, }) @@ -65,7 +65,7 @@ func init() { portFlags(flags) registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode}, + Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: containerPortCommand, Parent: containerCmd, }) |