How to get access to host wifi interface from docker container
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have docker container of debian-based OS(I'm using kalilinux/kali-linux-docker
image). How can I gain access to my host wifi adapter from that container?
I'm using:
- Docker CE 17.06.0-ce-win19 (12801)
- Laptop is on Windows 10
- USB wifi adapter
- Start container using this command
docker run -it --privileged --net="host" --rm kalilinux/kali-linux-docker bash
Here is iwconfig
output:
root@moby:/# iwconfig
br-bddc8b9f6f97 no wireless extensions.
eth0 no wireless extensions.
gre0 no wireless extensions.
br-b83648b3ccb6 no wireless extensions.
ip6tnl0 no wireless extensions.
br-ce31ec8a7751 no wireless extensions.
bond0 no wireless extensions.
lo no wireless extensions.
dummy0 no wireless extensions.
teql0 no wireless extensions.
ip6_vti0 no wireless extensions.
ip_vti0 no wireless extensions.
tunl0 no wireless extensions.
docker0 no wireless extensions.
ip6gre0 no wireless extensions.
gretap0 no wireless extensions.
hvint0 no wireless extensions.
sit0 no wireless extensions.
So, there are neither integrated nor USB wifi adapter in the list
wifi kali-linux docker
add a comment |Â
up vote
0
down vote
favorite
I have docker container of debian-based OS(I'm using kalilinux/kali-linux-docker
image). How can I gain access to my host wifi adapter from that container?
I'm using:
- Docker CE 17.06.0-ce-win19 (12801)
- Laptop is on Windows 10
- USB wifi adapter
- Start container using this command
docker run -it --privileged --net="host" --rm kalilinux/kali-linux-docker bash
Here is iwconfig
output:
root@moby:/# iwconfig
br-bddc8b9f6f97 no wireless extensions.
eth0 no wireless extensions.
gre0 no wireless extensions.
br-b83648b3ccb6 no wireless extensions.
ip6tnl0 no wireless extensions.
br-ce31ec8a7751 no wireless extensions.
bond0 no wireless extensions.
lo no wireless extensions.
dummy0 no wireless extensions.
teql0 no wireless extensions.
ip6_vti0 no wireless extensions.
ip_vti0 no wireless extensions.
tunl0 no wireless extensions.
docker0 no wireless extensions.
ip6gre0 no wireless extensions.
gretap0 no wireless extensions.
hvint0 no wireless extensions.
sit0 no wireless extensions.
So, there are neither integrated nor USB wifi adapter in the list
wifi kali-linux docker
1
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have docker container of debian-based OS(I'm using kalilinux/kali-linux-docker
image). How can I gain access to my host wifi adapter from that container?
I'm using:
- Docker CE 17.06.0-ce-win19 (12801)
- Laptop is on Windows 10
- USB wifi adapter
- Start container using this command
docker run -it --privileged --net="host" --rm kalilinux/kali-linux-docker bash
Here is iwconfig
output:
root@moby:/# iwconfig
br-bddc8b9f6f97 no wireless extensions.
eth0 no wireless extensions.
gre0 no wireless extensions.
br-b83648b3ccb6 no wireless extensions.
ip6tnl0 no wireless extensions.
br-ce31ec8a7751 no wireless extensions.
bond0 no wireless extensions.
lo no wireless extensions.
dummy0 no wireless extensions.
teql0 no wireless extensions.
ip6_vti0 no wireless extensions.
ip_vti0 no wireless extensions.
tunl0 no wireless extensions.
docker0 no wireless extensions.
ip6gre0 no wireless extensions.
gretap0 no wireless extensions.
hvint0 no wireless extensions.
sit0 no wireless extensions.
So, there are neither integrated nor USB wifi adapter in the list
wifi kali-linux docker
I have docker container of debian-based OS(I'm using kalilinux/kali-linux-docker
image). How can I gain access to my host wifi adapter from that container?
I'm using:
- Docker CE 17.06.0-ce-win19 (12801)
- Laptop is on Windows 10
- USB wifi adapter
- Start container using this command
docker run -it --privileged --net="host" --rm kalilinux/kali-linux-docker bash
Here is iwconfig
output:
root@moby:/# iwconfig
br-bddc8b9f6f97 no wireless extensions.
eth0 no wireless extensions.
gre0 no wireless extensions.
br-b83648b3ccb6 no wireless extensions.
ip6tnl0 no wireless extensions.
br-ce31ec8a7751 no wireless extensions.
bond0 no wireless extensions.
lo no wireless extensions.
dummy0 no wireless extensions.
teql0 no wireless extensions.
ip6_vti0 no wireless extensions.
ip_vti0 no wireless extensions.
tunl0 no wireless extensions.
docker0 no wireless extensions.
ip6gre0 no wireless extensions.
gretap0 no wireless extensions.
hvint0 no wireless extensions.
sit0 no wireless extensions.
So, there are neither integrated nor USB wifi adapter in the list
wifi kali-linux docker
wifi kali-linux docker
edited Jul 23 '17 at 13:14
Jeff Schaller
32.7k849110
32.7k849110
asked Jul 22 '17 at 18:40
Slava Nikulin
112
112
1
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37
add a comment |Â
1
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37
1
1
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
First install this three tools,apt-get install kali-linux kali-linux-wireless kali-linux-top10
Now commit changes to image,docker commit <CONTAINER ID> <IMAGE NAME>
Find image id of newly created docker image,docker images
Time for magic,docker run -it --net="host" --privileged <IMAGE NAME> /bin/bash
Source: Run Airmon-ng from VM without external âÂÂUSB Wireless cardâÂÂ
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
First install this three tools,apt-get install kali-linux kali-linux-wireless kali-linux-top10
Now commit changes to image,docker commit <CONTAINER ID> <IMAGE NAME>
Find image id of newly created docker image,docker images
Time for magic,docker run -it --net="host" --privileged <IMAGE NAME> /bin/bash
Source: Run Airmon-ng from VM without external âÂÂUSB Wireless cardâÂÂ
add a comment |Â
up vote
0
down vote
First install this three tools,apt-get install kali-linux kali-linux-wireless kali-linux-top10
Now commit changes to image,docker commit <CONTAINER ID> <IMAGE NAME>
Find image id of newly created docker image,docker images
Time for magic,docker run -it --net="host" --privileged <IMAGE NAME> /bin/bash
Source: Run Airmon-ng from VM without external âÂÂUSB Wireless cardâÂÂ
add a comment |Â
up vote
0
down vote
up vote
0
down vote
First install this three tools,apt-get install kali-linux kali-linux-wireless kali-linux-top10
Now commit changes to image,docker commit <CONTAINER ID> <IMAGE NAME>
Find image id of newly created docker image,docker images
Time for magic,docker run -it --net="host" --privileged <IMAGE NAME> /bin/bash
Source: Run Airmon-ng from VM without external âÂÂUSB Wireless cardâÂÂ
First install this three tools,apt-get install kali-linux kali-linux-wireless kali-linux-top10
Now commit changes to image,docker commit <CONTAINER ID> <IMAGE NAME>
Find image id of newly created docker image,docker images
Time for magic,docker run -it --net="host" --privileged <IMAGE NAME> /bin/bash
Source: Run Airmon-ng from VM without external âÂÂUSB Wireless cardâÂÂ
answered Sep 18 '17 at 19:44
Gaurav Gandhi
1013
1013
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381155%2fhow-to-get-access-to-host-wifi-interface-from-docker-container%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Maybe, this might help you : wiki : Container-access-to-wireless-network-interface
â Hunter.S.Thompson
Jul 22 '17 at 19:37