Merge pull request #27438 from Mr-Bossman/dev/neurolag

Fixed Commands in `podman-for-windows` Guide
This commit is contained in:
openshift-merge-bot[bot]
2025-11-04 22:26:57 +00:00
committed by GitHub

View File

@@ -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:
@@ -164,7 +165,7 @@ Docker. Provided there is no other service listening on the Docker API pipe;
no special settings will be required. no special settings will be required.
``` ```
PS C:\Users\User> .\docker.exe run -it fedora echo "Hello Podman!" PS C:\Users\User> docker run -it fedora echo "Hello Podman!"
Hello Podman! Hello Podman!
``` ```