mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
Enable --remote flag
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -44,11 +44,12 @@ func newPodmanConfig() {
|
||||
case "linux":
|
||||
// Some linux clients might only be compiled without ABI
|
||||
// support (e.g., podman-remote).
|
||||
if abiSupport && !remoteOverride {
|
||||
if abiSupport && !IsRemote() {
|
||||
mode = entities.ABIMode
|
||||
} else {
|
||||
mode = entities.TunnelMode
|
||||
}
|
||||
|
||||
default:
|
||||
fmt.Fprintf(os.Stderr, "%s is not a supported OS", runtime.GOOS)
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user