Skip to content

Commit

Permalink
Merge pull request containers#17747 from Heniker/main
Browse files Browse the repository at this point in the history
[CI:DOCS] fix cmd `set DOCKER_HOST` suggestion
  • Loading branch information
openshift-merge-robot authored Mar 13, 2023
2 parents 25f976e + 6363fb0 commit 5cb18a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/podman-for-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ following PowerShell command in your terminal session:
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.
Machine "podman-machine-default" started successfully
Expand Down
4 changes: 2 additions & 2 deletions pkg/machine/wsl/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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("\n\t$Env:DOCKER_HOST = '%s'\n", pipeName)
fmt.Printf("\nOr in a classic CMD prompt:\n")
fmt.Printf("\n\tset DOCKER_HOST = '%s'\n", pipeName)
fmt.Printf("\nAlternatively terminate the other process and restart podman machine.\n")
fmt.Printf("\n\tset DOCKER_HOST=%s\n", pipeName)
fmt.Printf("\nAlternatively, terminate the other process and restart podman machine.\n")
}
}
}
Expand Down

0 comments on commit 5cb18a9

Please sign in to comment.