Skip to content

Commit 2e84246

Browse files
neurolagMr-Bossman
authored andcommitted
Update docs for most recent Windows version
In more recent Windows 11 versions (not sure about Windows 10), Windows now ships its own `curl.exe`, so PowerShell's "curl"-alias no longer exists. Changes made in this commit will replace the `curl` alias call with the actual `Invoke-WebRequest` function. Signed-off-by: Manuel Thalmann <[email protected]>
1 parent 53ef23d commit 2e84246

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/tutorials/podman-for-windows.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,12 @@ A curl command against localhost on the PowerShell prompt will return a
144144
successful HTTP response:
145145

146146
```
147-
PS C:\Users\User> curl http://localhost:8080/ -UseBasicParsing
147+
PS C:\Users\User> Invoke-WebRequest -UseBasicParsing http://localhost:8080/
148148
149-
StatusCode : 200
149+
StatusCode : 200
150150
StatusDescription : OK
151-
Content : <html><body><h1>It works!</h1></body></html>
151+
Content : <html><body><h1>It works!</h1></body></html>
152+
[...]
152153
```
153154

154155
As with Linux, to stop, run:

0 commit comments

Comments
 (0)