It looks like the new container has different user ids than the old one.
If you have a backup, it’s easier to start with an empty database and do a restore. Otherwise, you’ll need to chown the database files to the correct uid.
The easiest way to do that may be to create an empty site and see what the v owner of the database files is and then chown the old ones to that uid.