Docker Community Forums

Share and learn in the Docker community.

Gain access to wireless interface


(Jonnez) #1

I followed the information available here https://deshmukhsuraj.wordpress.com/2015/06/30/run-airmon-ng-from-vm-without-external-usb-wireless-card/ in order to get access to my wireless interface from within a docker container (I’m running kali-linux in there).

However, things seems to be slightly different on a Mac.
I do notice that, running with --net=host and --privileged gave me two more interfaces. Before I had only eth0 and lo. Now, I additionally have an eth1 and an interface called docker0.

However, when running iwconfig it says ‘no wireless extensions.’ for all of these. Here, I also see an additional interface ‘dummy0’ listed.

Not sure if it’s a different problem, or related, but this also doesn’t work:
root@main:/# airmon-ng
ls: cannot access ‘/sys/class/ieee80211/’: No such file or directory

Any hints? Thanks!

versions:
macOS High Sierra 10.13.4
Docker version 18.05.0-ce, build f150324