Skip to content
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

x64 Oracle database image with VZ and Rosetta on macOS not fully working #6737

Open
MajorBreakfast opened this issue Apr 22, 2024 · 1 comment
Labels
cpu/aarch64 kind/bug Something isn't working kind/enhancement New feature or request platform/macos

Comments

@MajorBreakfast
Copy link

Actual Behavior

x86_64 emulation with VZ works to an extent, but it is not yet enough to run the Oracle database successfully.

Steps to Reproduce

docker run -p 1521:1521 --platform linux/amd64 -e ORACLE_PWD=password container-registry.oracle.com/database/free:23.3.0.0

Result

The container starts, but an error like this shows up:

########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############

Expected Behavior

On Colima (colima start --arch x86_64 --memory 4) this seems to already work. The expected behavior looks like this:

docker run -p 1521:1521 --platform linux/amd64 -e ORACLE_PWD=password container-registry.oracle.com/database/free:23.3.0.0

Then, the database boots for about a minute, some text appears and and finally an output like shows up:

#########################
DATABASE IS READY TO USE!
#########################

After that, I can connect to the database (sqlplus 'system/password@localhost:1521')

Additional Information

Colima emulates using qemu in x86_64 mode. So, it could be an issue with VZ in general. Nevertheless, I thought I'd create an issue so that the problem is documented.

Rancher Desktop Version

1.13.1

Rancher Desktop K8s Version

n/a

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

macOS

Operating System / Build Version

macOS 14.4

What CPU architecture are you using?

arm64 (Apple Silicon)

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

@MajorBreakfast MajorBreakfast added the kind/bug Something isn't working label Apr 22, 2024
@MajorBreakfast MajorBreakfast changed the title x64 Oracle database image with VZ and Rosetta on macOS does not fully working x64 Oracle database image with VZ and Rosetta on macOS not fully working Apr 22, 2024
@jandubois
Copy link
Member

Colima emulates using qemu in x86_64 mode. So, it could be an issue with VZ in general.

The VZ framework does not support this:

Rosetta doesn’t support the bootstrapping or installation of Intel Linux distributions on Mac computers with Apple silicon using the Virtualization framework.

You can do this with QEMU, but it will be slow, as it is pure software emulation. However, Rancher Desktop currently doesn't have a feature to run an x86_64 VM on aarch64.

I'll convert this from a bug into an enhancement request. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpu/aarch64 kind/bug Something isn't working kind/enhancement New feature or request platform/macos
Projects
None yet
Development

No branches or pull requests

2 participants