Missing table mysql.plugin

That project is quite old and they are using the “latest” tag, which is not recommended. When the project started that had to install an older MySQL version. The compose file refers to a plugin

command: --default-authentication-plugin=mysql_native_password

I would try to remove that line and see if that solves the problem. Otherwise you would probably need to create the plugins table with another lag or config parameter for which I would recommend checkin the latest MySQL documentation.

update:
I’m afraid the latest MySQL doesn’t support the that plugin

Note

The mysql_native_password authentication plugin is deprecated as of MySQL 8.0.34, disabled by default in MySQL 8.4, and removed as of MySQL 9.0.0.

So as another solution, you could also replace “mysql:latest” with “mysql:8” or even older depending on what was the latest when the project was created.