Iredmail docker无法启动mariadb

st 发布于 2024-05-08 886 次阅读


错误信息:

[Note] mysqld (mysqld 10.3.31-MariaDB-0ubuntu0.20.04.1-log) starting as process 211 ...
/docker/entrypoints/mariadb.sh: line 65:   211 Illegal instruction     mysqld ${cmd_mysqld_opts}

amavisd又卡死了,重启了一下docker容器,好了没几分钟,突然就崩了,mariadb疯狂重启,log里显示:INFO success: mariadb entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
INFO exited: mariadb (terminated by SIGILL; not expected)

重启容器之后容器内开始反复出现一开始的错误信息,重新拉取镜像也无果。一时间想不出什么办法就用docker system prune -a把docker系统清理了一遍,再次运行docker-compose up -d,奇迹般的好了。

最后也没搞明白是什么原因,重启容器重拉镜像都没用,为啥一清理就好了?

Sup
最后更新于 2024-05-08