-
Notifications
You must be signed in to change notification settings - Fork 75
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
running images with docker for mac & rosetta2 beta feature #175
Comments
Hi @jgarec, Thanks a lot for your interest in these images! Unfortunately, I am still on an Intel Mac and hence have no experience with Rosetta. |
Hi, running on both side of the fence here is an article that refer to you @gvenzl and explain clearly how to use intel image on M1 mac. https://oralytics.com/2022/09/22/running-oracle-database-on-docker-on-apple-m1-chip/ |
Its not exactly the same @jifbrodeur . We want to use this image with the new virtualization support (rosseta2). https://github.com/lima-vm/lima/blob/master/docs/multi-arch.md#fast-mode-2 :) |
Docker Desktop now supports the use of Apple's Virtualization framework, which supports x86/amd64 emulation through Rosseta2. I use this oracle image from Testcontainers. And many images used by Testcontainers do not provide an aarch64 version.
So if |
Running gvenzl/oracle-xe:latest on a M1 MacBook Pro I get the following error with Docker Desktop & Rosetta 2 and colima & Rosetta 2:
The container fails after that, no further interaction possible. This happens using Docker Desktop and Rosetta 2 enabled as well as with colima and Rosetta 2. The same image works fine when started from colima using Qemu. There's a similar issue on the docker-images issue tracker, but it looks like they get a bit further and Oracle doesn't quit with ORA-03113. Qemu works perfectly fine, but it would be great if Rosetta 2 was possible, since that's running much faster. |
Hi Gerald, with 19c native arm support, closing this was the best thing to do, I installed the latest Oracle Docker Arm image under Docker 4.24.2 all is good. |
Hi,
We have tried to run oracle images on docker for mac and it was not possible (using qemu) so we tried with colima which was ok.
Now, a new version of docker is available (4.16.0) and support native rosetta emulation (instead of using qemu), but it's still does not work as it fails during the "startup nomount" step.
21 and 18 have the same behavior :
With Oracle 11g, it's different :
I use this command line to run images:
docker run -p 1521:1521 --rm --entrypoint=/bin/sh -e ORACLE_RANDOM_PASSWORD=yes -it docker-registry.pico-pfc.dev.echonet/gvenzl/oracle-xe:11.2.0.2-slim-faststart
No problem with the listener, the emulation works as expected
1000 54482 53265 0 16:10 ? 00:00:00 /rosetta/rosetta /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr LISTENER -inherit
Any idea about this last error message ? is there something that can break this check
XE Edition single instance violation error
?thx for your help :)
The text was updated successfully, but these errors were encountered: