I just upgraded to Docker Desktop 2.4 on MacOS, from version 2.3. Suddenly none of my mysql containers will start. The logs show this as the reason:
Different lower_case_table_names settings for server ('2') and data dictionary ('0').
Data Dictionary initialization failed.
Aborting
The database files are mounted in a volume on my host machine, so that they persist between restarts.
I finally figured out why. Posting in order to answer.



