From 8129ad1edc72793eece82c64cef3d275b8bac67d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Sep 2025 17:25:43 +0200 Subject: [PATCH 1/2] [skip-ci] 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 --- docs/tutorials/podman-for-windows.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/podman-for-windows.md b/docs/tutorials/podman-for-windows.md index 00e0994f75..47d53d214a 100644 --- a/docs/tutorials/podman-for-windows.md +++ b/docs/tutorials/podman-for-windows.md @@ -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 :

It works!

+Content :

It works!

+[...] ``` As with Linux, to stop, run: From 2718a29ddb4f325beeca5da5d134e432a6853aa4 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Sep 2025 17:49:43 +0200 Subject: [PATCH 2/2] [skip-ci] Fix incorrect function call Changes made in this commit will fix #16168 The current command in the docs expect a `docker.exe` file to exist in the current working directory. As this is most likely a typo, changes made in this commit fix this issue. Signed-off-by: Manuel Thalmann --- docs/tutorials/podman-for-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/podman-for-windows.md b/docs/tutorials/podman-for-windows.md index 47d53d214a..10d82cfb2a 100644 --- a/docs/tutorials/podman-for-windows.md +++ b/docs/tutorials/podman-for-windows.md @@ -165,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! ```