Skip to content

Commit 2b646e7

Browse files
Merge pull request #27438 from Mr-Bossman/dev/neurolag
Fixed Commands in `podman-for-windows` Guide
2 parents 17beac1 + 58c2fcd commit 2b646e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/tutorials/podman-for-windows.md

Lines changed: 5 additions & 4 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:
@@ -164,7 +165,7 @@ Docker. Provided there is no other service listening on the Docker API pipe;
164165
no special settings will be required.
165166

166167
```
167-
PS C:\Users\User> .\docker.exe run -it fedora echo "Hello Podman!"
168+
PS C:\Users\User> docker run -it fedora echo "Hello Podman!"
168169
Hello Podman!
169170
```
170171

0 commit comments

Comments
 (0)