Merge pull request #17747 from Heniker/main

[CI:DOCS] fix cmd `set DOCKER_HOST` suggestion
This commit is contained in:
OpenShift Merge Robot
2023-03-13 05:24:15 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ following PowerShell command in your terminal session:
Or in a classic CMD prompt: Or in a classic CMD prompt:
set DOCKER_HOST = 'npipe:////./pipe/podman-machine-default' set DOCKER_HOST=npipe:////./pipe/podman-machine-default
Alternatively, terminate the other process and restart podman machine. Alternatively, terminate the other process and restart podman machine.
Machine "podman-machine-default" started successfully Machine "podman-machine-default" started successfully

View File

@ -1060,8 +1060,8 @@ func (v *MachineVM) Start(name string, opts machine.StartOptions) error {
fmt.Printf("following powershell command in your terminal session:\n") fmt.Printf("following powershell command in your terminal session:\n")
fmt.Printf("\n\t$Env:DOCKER_HOST = '%s'\n", pipeName) fmt.Printf("\n\t$Env:DOCKER_HOST = '%s'\n", pipeName)
fmt.Printf("\nOr in a classic CMD prompt:\n") fmt.Printf("\nOr in a classic CMD prompt:\n")
fmt.Printf("\n\tset DOCKER_HOST = '%s'\n", pipeName) fmt.Printf("\n\tset DOCKER_HOST=%s\n", pipeName)
fmt.Printf("\nAlternatively terminate the other process and restart podman machine.\n") fmt.Printf("\nAlternatively, terminate the other process and restart podman machine.\n")
} }
} }
} }