File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,12 @@ A curl command against localhost on the PowerShell prompt will return a
144144successful 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
150150StatusDescription : OK
151- Content : <html><body><h1>It works!</h1></body></html>
151+ Content : <html><body><h1>It works!</h1></body></html>
152+ [...]
152153```
153154
154155As with Linux, to stop, run:
@@ -164,7 +165,7 @@ Docker. Provided there is no other service listening on the Docker API pipe;
164165no 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!"
168169Hello Podman!
169170```
170171
You can’t perform that action at this time.
0 commit comments