Comments (5)
Hi!
I have added the support to build mac arm64 binary here: https://github.com/whalebrew/whalebrew/actions/runs/1809369861
soon I will release a new version
from whalebrew.
binfmt not bitfmt, and it's linux kernel thing:
from whalebrew.
Hi! sorry about the late reply
This is indeed a good idea to support apple silicon.
I personally don't have one, but I tend to think there are 2 sides to the problem:
- building whalebrew for it (this should now be easy with latest go versions)
- making packages compatible. For this, I don't know exactly what is required. Is docker always x86 emulated?
from whalebrew.
I don't think itβs the same thing I would have put the β_miscβ, but does emulate that functionality and yes that was a typo π«’
https://github.com/tonistiigi/binfmt
I think its this image used by buildkit which is a bundle of qemu emulators for different platforms.
It can be used by BuildKit to to run and more importantly build multiple images for different platforms.
While Docker Desktop comes preconfigured with binfmt_misc support for additional platforms, for other installations it likely needs to be installed using [tonistiigi/binfmt](https://github.com/tonistiigi/binfmt) image.
from whalebrew.
making packages compatible. For this, I don't know exactly what is required. Is docker always x86 emulated?
Docker for macOS M1 already packs QEMU with AMD64 support.
I presume, the Intel version comes with ARM64 support?
That would make sense with the move to Apple Silicon
via docker hub, it will always try to use the native version to your platform first. I am not sure if it would automatically fallback to the emulated version or if you would have to provide the platform argument.
If a system isnt supported by emulation or otherwise you have to install binfmt image , as mentiond
$ docker run --privileged --rm tonistiigi/binfmt --install all
I don't think that this will be needed though. Unless you plan to build for and run a lot more platforms.
video demo here: https://youtu.be/hWSHtHasJUI?t=268
So I think would mean you could upload the various platforms as the one named item to docker hub and docker would automatically download the native version if possible unless over ruled.
from whalebrew.
Related Issues (20)
- Validate `io.whalebrew.*` labels HOT 1
- Make it work as non-admin HOT 3
- Ensure plain support of OCI images
- Add search support for Harbour docker registry
- Add search support for AWS docker registry
- Add search support for GCP docker registry
- whalebrew search does not list packages HOT 2
- Option to run a package without `-it` HOT 3
- terraform outdated HOT 5
- Broken uninstall (on brew version) HOT 3
- Warning for most packages on m1 macs HOT 1
- Improve Install Path handling HOT 3
- Was 0.4.0 re-tagged? HOT 4
- Is the docker daemon running? (Oh yes it is!) HOT 11
- podman support HOT 12
- Homebrew version of whalebrew is incorrect HOT 4
- open /usr/local/bin/whalesay: permission denied
- Use `brew --prefix`'/bin' install path by default
- whalebrew install returns client version error HOT 11
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 whalebrew.