AlmirKadric-Published / docker-tuntap-osx

A tuntap shim installer for "Docker for Mac"
MIT License
332 stars 65 forks source link

Incompatible architecture: Binary is for x86_64, but needed arch arm64e #43

Open masifpak opened 1 year ago

masifpak commented 1 year ago

Hi Almir Kadric,

I am using MacBook Pro M2. Unfortunately when I install tuntap_20150118.pkg. It throws following error. Please help.

Error Domain=KMErrorDomain Code=71 "Incompatible architecture: Binary is for x86_64, but needed arch arm64e
Incompatible architecture: Binary is for x86_64, but needed arch arm64e
Unsupported Error: one or more extensions are unsupported to load   Kext net.sf.tuntaposx.tap v1.0 in executable kext bundle net.sf.tuntaposx.tap at /Library/Extensions/tap.kext
Unsupported Error: one or more extensions are unsupported to load   Kext net.sf.tuntaposx.tap v1.0 in executable kext bundle net.sf.tuntaposx.tap at /Library/Extensions/tap.kext" UserInfo={NSLocalizedDescription=Incompatible architecture: Binary is for x86_64, but needed arch arm64e

Moreover when I run the following command. it throws following,

masif@RDCG9VPF2D docker-for-mac-host-bridge % brew tap caskroom/cask
Error: caskroom/cask was moved. Tap homebrew/cask instead.
masif@RDCG9VPF2D docker-for-mac-host-bridge % brew tap homebrew/cask
masif@RDCG9VPF2D docker-for-mac-host-bridge % brew cask install tuntap
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.
masif@RDCG9VPF2D docker-for-mac-host-bridge % brew install tuntap --cask
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#=#=-  #       #                                                                                                                                                                                                                                               #=O#-     #        #                                                                                                                                                                                                                                           -#O=- #      #          #                                                                                                                                                                                                                                      -=O#-   #        #           #                     ######################################################################################################################################################################################################################################################### 100.0%
Warning: Cask 'tuntap' is unavailable: No Cask with this name exists.
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#=#=-  #       #                                                                                                                                                                                                                                               #=O#-     #        #                                                                                                                                                                                                                                           -#O=- #      #          #         ######################################################################################################################################################################################################################################################### 100.0%
==> Searching for similarly named casks...
Error: No casks found for tuntap.
enzofrnt commented 1 year ago

Hi, did you make it work ? On my M1 PRO i didn't have HyperKit but linuxkit.

masifdo commented 1 year ago

Not yet. Waiting for Almir Kadric to work on this.

enzofrnt commented 1 year ago

Not yet. Waiting for Almir Kadric to work on thi.

Maybe he didn't have time for it. Like my post there : https://github.com/docker/roadmap/issues/238#issuecomment-1765998952

Maybe that will help us.