mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
Merge pull request #27438 from Mr-Bossman/dev/neurolag
Fixed Commands in `podman-for-windows` Guide
This commit is contained in:
@@ -144,11 +144,12 @@ A curl command against localhost on the PowerShell prompt will return a
|
||||
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
|
||||
Content : <html><body><h1>It works!</h1></body></html>
|
||||
Content : <html><body><h1>It works!</h1></body></html>
|
||||
[...]
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```
|
||||
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!
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user