podman pod inspect HostNetwork does not work #14028
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The host HostNetwork field is always true even when the pod uses a private netns.
This caused #14015 because the regression test was checking this field.
Steps to reproduce the issue:
podman pod create --name t --share net --network private
podman pod inspect t --format {{.InfraConfig.HostNetwork}}
Describe the results you received:
true
Describe the results you expected:
false
Output of
podman version
:latest main
The text was updated successfully, but these errors were encountered: