一开始应该查看日志,该命令为:docker logs 容器id
查看到报错[ERROR] [Entrypoint]:Database is uninitialized and password option is not specified You need to specify one of the following:
看到这个问题反应到配置文件的password有问题,看了一下是自己配置的时候PASSWORD写成了PASSWD,改好再run一下就好了
标签:uninitialized,容器,option,specified,mysql,docker,password,exited From: https://www.cnblogs.com/kky12345/p/16823621.html