Docker Cointainer stop executing my sql

I have a cointainer where inside one of them is mysql, but now when i execute the container this one give me this error.

2024-05-15T06:58:28.958734Z 1 [ERROR] [MY-012526] [InnoDB] Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2. This redo log was created with MySQL 5.7.40, and it appears logically non empty.
2024-05-15T06:58:28.958776Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2024-05-15T06:58:29.341189Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
2024-05-15T06:58:29.341514Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2024-05-15T06:58:29.341549Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-05-15T06:58:29.341950Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.37) MySQL Community Server - GPL.

What can i do?

It seems like you have had an issue before with the container, causing it to crash, then upgraded the image and tried again.
As you can see from the logs " Upgrade is not supported after a crash or shutdown", this is not possible.

So i would try to fetch the specific version it was before, and according to those logs: “This redo log was created with MySQL 5.7.40, and it appears logically non empty.”
You need to try 5.7.40