You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove podman detection from docker-env per review feedback
- Remove DockerBackendDetector and DetectDockerBackend function
- Remove podman-specific logic from dockerEnvVars
- Simplify docker-env to only handle Docker API compatibility
dockerEnvCmd.Flags().StringVar(&shell.ForceShell, "shell", "", "Force environment to be configured for a specified shell: [fish, cmd, powershell, tcsh, bash, zsh], default is auto-detect")
704
690
dockerEnvCmd.Flags().StringVarP(&outputFormat, "output", "o", "", "One of 'text', 'yaml' or 'json'.")
705
691
dockerEnvCmd.Flags().BoolVarP(&dockerUnset, "unset", "u", false, "Unset variables instead of setting them")
706
-
}
707
-
/*
708
-
DetectDockerBackend probes the Docker CLI backend by running `docker info` and parsing the output
709
-
for Podman signatures. Returns "docker" or "podman" as backend type.
710
-
711
-
The detection logic looks for "Podman Engine" or "podman" in the "Server" or "Operating System" fields.
712
-
The commandRunner argument allows injection/mocking for tests.
0 commit comments