问题原文
原帖链接 · Arno · CC BY-SA 4.0
This error happens even after clearing the Docker image cache:
$ docker run -it --rm mariadb:10.8.3
2022-06-15 11:28:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.8.3+maria~jammy started.
2022-06-15 11:28:14+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
command was: mariadbd --verbose --help --log-bin-index=/tmp/tmp.EUcxIEz4Yz
Can't initialize timers
10.8.3 is currently the latest image on Docker Hub. The image tag is ea81af801379. This is on 64-bit Ubuntu 18.04. The server has low CPU load, 100+GB of free RAM, and terabytes of free disk space.
I have an existing database that was already touched by this version and that I wouldn't want to risk downgrading.
I have seen this issue but there's no reason that MariaDB would fail to create a thread.
How can I solve this?
社区高分解答
原帖链接 · erwin · CC BY-SA 4.0
The solution is to change the MariaDB version to avoid version 10.8.3, for example by forcing mariadb:10.8.2 or mariadb:10.7, or to set --security-opt seccomp=unconfined
If your Dockerfile or docker-compose are referencing mariadb:latest or mariadb:10 in Summer 2022, that's pointing to mariadb:10.8.3.
Contrary to the post by @Arno, the Docker version is not the issue.
I am running Docker 20.10.17 and the problem persists.
You can also directly run with an updated security profile:
docker run --security-opt seccomp=/etc/docker/profiles-seccomp-scmp-act-trace.json
Hopefully a fix will be in the MariaDB 10.8.3 release.
https://github.com/MariaDB/mariadb-docker/issues/434
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
