Comments (9)
Seems not working for new Apple M1 chip? Could anyone confirm?
from docker-tuntap-osx.
Hi @tonifirnandes ,
If you follow the exact instructions there it should work (I did the same thing a few days ago on my new macbook pro). After you attempt the installation, it will fail with the above message. If you then go to your Systems Preferences
-> Security & Privacy
(1st Tab - General
) you will see an additional button near the Allow apps downloaded from:
(see attached image)
Clicking this button will approve the installation, from there you can go and run the installation for tuntap again and it should install without issues.
Please let me know if this solves your problem, or if you run into any other issues.
from docker-tuntap-osx.
I have the kext loaded (net.sf.tuntaposx.tap) but can't create the tap interface (trying to use for simh to get my VAX network operational):
Note: installed via brew:
brew cask install tuntap
192-168-2-122:BIN rickhicksted2$ uname -a
Darwin Ricks-MBP-2 17.7.0 Darwin Kernel Version 17.7.0: Fri Jul 6 19:54:51 PDT 2018; root:xnu-4570.71.3~2/RELEASE_X86_64 x86_64
192-168-2-122:BIN rickhicksted2$ kextstat |grep -e tun -e tap
170 0 0xffffff7f80ea4000 0x7000 0x7000 net.sf.tuntaposx.tun (1.0) 95DD963D-E23D-3B0F-8DE8-A4D2F6BFA5CC <7 5 4 1>
171 0 0xffffff7f80b0f000 0x7000 0x7000 net.sf.tuntaposx.tap (1.0) 23FDB715-3D0D-3A26-ACBA-E3794C231CB7 <7 5 4 1>
192-168-2-122:BIN rickhicksted2$
192-168-2-122:BIN rickhicksted2$ ifconfig tap0 10.0.0.1
ifconfig: interface tap0 does not exist
192-168-2-122:BIN rickhicksted2$ ls -l /dev/tap*
crw-rw---- 1 root wheel 32, 0 Aug 10 23:19 /dev/tap0
crw-rw---- 1 root wheel 32, 1 Aug 10 23:19 /dev/tap1
crw-rw---- 1 root wheel 32, 10 Aug 10 23:19 /dev/tap10
crw-rw---- 1 root wheel 32, 11 Aug 10 23:19 /dev/tap11
crw-rw---- 1 root wheel 32, 12 Aug 10 23:19 /dev/tap12
crw-rw---- 1 root wheel 32, 13 Aug 10 23:19 /dev/tap13
crw-rw---- 1 root wheel 32, 14 Aug 10 23:19 /dev/tap14
crw-rw---- 1 root wheel 32, 15 Aug 10 23:19 /dev/tap15
crw-rw---- 1 root wheel 32, 2 Aug 10 23:19 /dev/tap2
crw-rw---- 1 root wheel 32, 3 Aug 10 23:19 /dev/tap3
crw-rw---- 1 root wheel 32, 4 Aug 10 23:19 /dev/tap4
crw-rw---- 1 root wheel 32, 5 Aug 10 23:19 /dev/tap5
crw-rw---- 1 root wheel 32, 6 Aug 10 23:19 /dev/tap6
crw-rw---- 1 root wheel 32, 7 Aug 10 23:19 /dev/tap7
crw-rw---- 1 root wheel 32, 8 Aug 10 23:19 /dev/tap8
crw-rw---- 1 root wheel 32, 9 Aug 10 23:19 /dev/tap9
192-168-2-122:BIN rickhicksted2$ cat bridge.sh
sudo ifconfig bridge1 create
sudo ifconfig bridge1 up addm tap0
sudo ifconfig bridge1 up addm en0
192-168-2-122:BIN rickhicksted2$ ./bridge.sh
Password:
ifconfig: BRDGADD tap0: No such file or directory
Any ideas?
Thanks,
Rick
from docker-tuntap-osx.
Hi @tonifirnandes
I have encountered the same problem, have you solved it?
from docker-tuntap-osx.
@rhickstedjr apologies for the late reply. Will answer this anyway for others to have some reference. If the tap interface doesn't appear within ifconfig it means that docker hasn't bound to it. To resolve this restart docker-for-mac manually. Also to help further diagnose the issue the following information should be provided:
ls -l /Applications/Docker.app/Contents/Resources/bin/
to make sure the shim was properly installed and configuredls -l /dev/tap*
to make sure docker has access to tap interfaceifconfig
to make sure docker connected to the tap interfacenetstat -rn
to make sure routes were set to the containers over the tap interfacedocker run --rm --privileged --pid=host --net=host alpine ifconfig
to make docker created the target interfacedocker run --rm --privileged --pid=host debian nsenter -t 1 -m -u -n -i iptables-save
to make sure the docker host allows routingdocker inspect <<Container_id>>
to make sure your container is configure to use all of the above
from docker-tuntap-osx.
@chenyanlei can you provide the above information and I'll help you with your issue as well
from docker-tuntap-osx.
@chenyanlei @tonifirnandes are you still facing issues
I would like to clean up this issue
if i dont get a response by next i will be closing the issue
from docker-tuntap-osx.
closed due to inactivity
from docker-tuntap-osx.
I have the same problem for M1 chip
from docker-tuntap-osx.
Related Issues (20)
- Conflicts with my VPN HOT 7
- Runned both scripts, still unable to access the container through IP HOT 4
- "The hyperkit executable file was of an unknown type" when installer is run twice HOT 3
- Do I need a default route out of my containers? HOT 3
- Errors when restarting docker after installation HOT 5
- 18.03.1-ce-mac65 - The system does not work anymore HOT 9
- interface tap1 does not exist HOT 18
- 18.09.0 build 4d60db4 - The system does not work anymore HOT 6
- Install script does not kill Docker gracefully HOT 1
- Cannot connect to container after setup HOT 6
- TunTap sunsetting...suggestions? HOT 6
- Are the arguments used to create the host virtual machine really hardcoded? HOT 1
- Thoughts on automation? HOT 7
- Unable to map hosts as expected
- Fails to install due to Swarm error
- Is there any alternative to tuntap osx? HOT 2
- Fatal Error restarting docker daemon on install
- Unable to install it on Macbook m1 HOT 8
- Incompatible architecture: Binary is for x86_64, but needed arch arm64e HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-tuntap-osx.