Docker mysql startup container initialization error-initialize

everything is fine when I install Docker for Windows on Win10. Deploying your own .NET CORE application is also OK.
but I can also pull MYSQL5.7 to execute the docker run command successfully, but prompt initialize specified but the data directory has files in it. when I view the log Aborting. At this time, the container did not start successfully, so it stopped. On the Internet, it is mostly said that there is data in the data file, but I check that there is no data in the mounted folder. How can I solve this problem?

Oct.27,2021
Menu