podman-api-rs icon indicating copy to clipboard operation
podman-api-rs copied to clipboard

How to connect container to host network?

Open k26pl opened this issue 9 months ago • 0 comments

Hi, i have a trouble trying to connect container to host network. Everything i have tried has failed - connecting it to network with name host, trying to change HostConfig and messing with ContainerCreateOpts.network_options and ContainerCreateOpts.networks. Can someone please tell me how to do it?

k26pl avatar Mar 13 '25 14:03 k26pl