I started to have issues with Docker Desktop recently too. MySQL or MSSQL docker images with rosetta emulation have really poor performance now and they are restarting from time to time on heavy loads.
I am experiencing error like these ones:
de.hybris.platform.jdbcwrapper.interceptor.recover.RecoveryInProgressException: Recovery in progress. Please try again later.
[java] at de.hybris.platform.jdbcwrapper.interceptor.recover.SQLRecoverableExceptionHandler.get(SQLRecoverableExceptionHandler.java:59) ~[coreserver.jar:?]
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: SQL Server did not return a response. The connection has been closed.