Eclipse-Temurin Seccomp Issue

Last modified by Vincent Massol on 2026/12/01 10:54

The JVM of the XWiki container can crash at startup on older Docker versions, and there are ways to get past it.

Explanation

The XWiki container stops at startup, the JVM failing to create its threads:

[0.011s][warning][os,thread] Failed to start thread - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
#
# There is insufficient memory for the Java Runtime Environment to continue.

Cause

This issue arises because the eclipse-temurin base image switched from openjdk-buster to eclipse-temurin-jammy (Ubuntu 22.04). Older versions of Docker apply a default seccomp security profile that blocks certain system calls required by the newer Ubuntu base image, preventing the JVM from creating worker threads.

Solution

To solve this, you can try one of the following:

  • Make sure you use a Docker version >= 20.10.16, which provides an updated default seccomp profile that includes the missing permissions.
  • If upgrading Docker is not possible, run the XWiki Docker container without the default seccomp profile.

Related

Get Connected