Skip to content

Add a machine e2e test to test connection to host.containers.internal#29115

Draft
l0rd wants to merge 2 commits into
podman-container-tools:mainfrom
l0rd:wsl-host-containers-internal-test
Draft

Add a machine e2e test to test connection to host.containers.internal#29115
l0rd wants to merge 2 commits into
podman-container-tools:mainfrom
l0rd:wsl-host-containers-internal-test

Conversation

@l0rd

@l0rd l0rd commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Related to podman-container-tools/container-libs#959: keeping this PR as a draft until we have a WSL image with the fix

The original issue #28477

Checklist

Ensure you have completed the following checklist for your pull request to be reviewed:

  • Certify you wrote the patch or otherwise have the right to pass it on as an open-source patch by signing all
    commits. (git commit -s). (If needed, use git commit -s --amend). The author email must match
    the sign-off email address. See CONTRIBUTING.md
    for more information.
  • Referenced issues using Fixes: #00000 in commit message (if applicable)
  • Tests have been added/updated (or no tests are needed)
  • Documentation has been updated (or no documentation changes are needed)
  • All commits pass make validatepr (format/lint checks)
  • Release note entered in the section below (or None if no user-facing changes)

Does this PR introduce a user-facing change?

None

The lookup for the gvproxy process was broken on Windows:
- We looked for gvproxy, not gvproxy.exe, and `tasklist` was always
failing
- But `pgrep` wasn't failing because we looked for the wrong `tasklist`
error message (the correct error message on my laptop is "INFO: No tasks
are running which match the specified criteria.")
- WSL uses win-sshproxy.exe, not gvproxy.exe

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
@l0rd l0rd marked this pull request as draft July 3, 2026 15:33
@l0rd l0rd force-pushed the wsl-host-containers-internal-test branch from e2f4ffe to 2e807f2 Compare July 3, 2026 17:53
Add one more test to the basic podman commands e2e tests:
- starts an HTTP server on the host
- verify HTTP requests from a container, using
`host.containers.internal` or `host.docker.internal`, are routed
successfully to the server running on the host

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
@l0rd l0rd force-pushed the wsl-host-containers-internal-test branch from 2e807f2 to db3b18b Compare July 8, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant