Virtual Wifi Interface

Is there any way to create a wifi interface on a container and connect it to a bridge on the host machine? I’d like the virtual connection to appear like a wifi interface in adhoc mode to any programs running on the container.

Thanks in advance

I don’t think so. At least not easily.

There is the mac80211_hwsim kernel module which lets you create fake wifi interfaces, but you’d then need to run a fake access point which is then attached to your bridge.

I’m also unsure if you can have more than one virtual wifi card acting as client and whether those can even be moved into containers.