1,容器起不来,通过docker logs xxxx /docker service logs xxxxx,查看 原因
2,mysql容器的镜像版本改变,一定要注意清空之前的镜像的挂载的主机文件夹,否则报错[ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800!
1,容器起不来,通过docker logs xxxx /docker service logs xxxxx,查看 原因
2,mysql容器的镜像版本改变,一定要注意清空之前的镜像的挂载的主机文件夹,否则报错[ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800!