Closed adishM98 closed 2 months ago
Is there a specific reason to run with CPU emulation: --platform linux/amd64
? First thing I would try to use the native image, if available. There are some database engines that don't work correctly in emulation.
Another idea would be switching from QEMU to VZ with Rosetta (or vice versa) to see if that makes a difference. But trying a native image should be a priority, as it would also offer (probably much) better performance.
Hi @jandubois,
Thank you for recommending the use of VZ with Rosetta. It resolved the issue we were facing. Thank you again. I will close this issue.
Ran into this as well when upgrading from 1.13.1 to 1.14.1 using mysql:5.7
(which only has linux/amd64 support so runs under emulation) - starts to segfault on startup. Oddly, switching to the debian image mysql:5.7-debian
works (but it's also only linux/amd64) - chose this as the solution just to avoid telling all developers to switch over to Rosetta (did not test myself if switching the emulation would fix this but am familiar with various quirks with emulation on ARM based Macs).
Actual Behavior
Hi Team,
The issue is faced by one of our clients who is using Rancher Desktop on Mac. The same application works perfectly fine on Docker Desktop.
Steps to Reproduce
Application run command:
custom-entrypoint.sh:
Result
Expected Behavior
The migration script would start once the services are up. These are logs when running on docker desktop.
Additional Information
No response
Rancher Desktop Version
na
Rancher Desktop K8s Version
na
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
macOS
Operating System / Build Version
Sonoma 14.4.1
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