Upgrading from v3 to v4

Your software
My Mautic version is: v3.1.2
My PHP version is: 7.3.27
My Database type and version is: mysqlnd 5.0.12-dev

Your problem
My problem is: Is there a guideline for upgrading from v3 to v4 using the public Docker images Docker Hub? And also between minor releases?

These errors are showing in the log:

Steps I have tried to fix the problem: