-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No apple M1/M2 support #28
Comments
its another cpu architecture and the same issue as: #3 (comment) |
I don't think it's entirely due to the different architecture itself - otherwise, it would refuse to start with the same error as in #3 macOS' translation layer Rosette can run amd64 programs, and this is used by default if an image does natively support the arm architecture. I even specified the platform explicitly, which leads to an identical result (as above). services:
server:
image: jusito/docker-ttt:gmod_ttt_debian
+ platform: linux/amd64
container_name: ttt-server
ports:
- "27015:27015/tcp" In theory, the automatic translation should work; I don't know if something can be done in this image to fix the error related to the file. Searching for the problematic file Also: any solution using Rosetta would only be a "nice to have" as this translation is only provided on a "best effort" basis. |
thanks for the info, didn't know about this feature. Your best effort link shows issues with debian-10 because its outdated, updated develop to 12 maybe it will fix it. Ah and also added a very simplistic way of logging console to container log. |
Was you able to test the recent "-develop" image on your M2 ? |
Sorry for the late update. Yes, I did try it. Unfortunately, it ends with the same error. |
I correct, it is slightly different: At the very least, there is now an additional warning/error "integer expression expected"
|
|
This simple docker-compose works in a debian 12 VM, but not on macOS.
Using a MacBook Pro M2 with macOS Sonoma.
The text was updated successfully, but these errors were encountered: