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
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")
689
704
dockerEnvCmd.Flags().StringVarP(&outputFormat, "output", "o", "", "One of 'text', 'yaml' or 'json'.")
690
705
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.
Copy file name to clipboardExpand all lines: site/content/en/docs/commands/podman-env.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@ description: >
4
4
Configure environment to use minikube's Podman service
5
5
---
6
6
7
+
## Requirements
8
+
9
+
-**Podman version 4.9.2 or newer is required.**
10
+
- Support for Podman v3 and varlink-based communication has been removed. The `podman-env` command now configures your environment to use the Podman REST API socket, as required by Podman v4+.
11
+
12
+
{{% pageinfo color="warning" %}}
13
+
**Note:** If you are using an older version of Podman, please upgrade to at least v4.9.2 to use `minikube podman-env`. Legacy varlink-based workflows are no longer supported.
14
+
{{% /pageinfo %}}
7
15
8
16
## minikube podman-env
9
17
@@ -30,7 +38,7 @@ minikube podman-env [flags]
30
38
--add_dir_header If true, adds the file directory to the header of the log messages
31
39
--alsologtostderr log to standard error as well as files (no effect when -logtostderr=true)
32
40
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
33
-
-h, --help
41
+
-h, --help
34
42
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
35
43
--log_dir string If non-empty, write log files in this directory (no effect when -logtostderr=true)
36
44
--log_file string If non-empty, use this log file (no effect when -logtostderr=true)
0 commit comments