[Bug]: network modes none
and host
should create entries in NetworkSettings.Networks
#17385
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.
network
Networking related issue or feature
Issue Description
When creating a container with network mode
host
ornone
using docker, the network settings contain entries with those names, respectively. With podman, the networks map is empty.Steps to reproduce the issue
Steps to reproduce the issue
host
ornone
(podman run --network=host alpine sleep 1000
)podman inspect $id
)Describe the results you received
No entries in the networks map.
Describe the results you expected
Examples from docker
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
This is required for full docker compatibility, to make the testcontainers-java test suite pass, see testcontainers/testcontainers-java#6158
I'm not sure how big the scope of the required changes for this is, but I'd be happy to contribute a fix if someone can point me in the right direction.
The text was updated successfully, but these errors were encountered: