From 6363fb08f2490f18951728705667a20c1a907530 Mon Sep 17 00:00:00 2001 From: Heniker Date: Mon, 13 Mar 2023 08:11:45 +0300 Subject: [PATCH] docs: fix cmd `set DOCKER_HOST` suggestion Signed-off-by: Heniker --- docs/tutorials/podman-for-windows.md | 2 +- pkg/machine/wsl/machine.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/podman-for-windows.md b/docs/tutorials/podman-for-windows.md index 4cdb830513..62b7c5a9a8 100644 --- a/docs/tutorials/podman-for-windows.md +++ b/docs/tutorials/podman-for-windows.md @@ -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 diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index 07a2bde9bd..db5395b999 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -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") } } }