mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
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 <m@nuth.ch>
This commit is contained in:
committed by
Jesse Taube
parent
53ef23df38
commit
2e84246ad5
@@ -144,11 +144,12 @@ A curl command against localhost on the PowerShell prompt will return a
|
|||||||
successful HTTP response:
|
successful HTTP response:
|
||||||
|
|
||||||
```
|
```
|
||||||
PS C:\Users\User> curl http://localhost:8080/ -UseBasicParsing
|
PS C:\Users\User> Invoke-WebRequest -UseBasicParsing http://localhost:8080/
|
||||||
|
|
||||||
StatusCode : 200
|
StatusCode : 200
|
||||||
StatusDescription : OK
|
StatusDescription : OK
|
||||||
Content : <html><body><h1>It works!</h1></body></html>
|
Content : <html><body><h1>It works!</h1></body></html>
|
||||||
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
As with Linux, to stop, run:
|
As with Linux, to stop, run:
|
||||||
|
|||||||
Reference in New Issue
Block a user