Skip to content

java17 image: knockd requires GLIBC_2.34, causing autopause to fail #4156

Description

@xandreiAThome

Describe the problem

The latest itzg/minecraft-server:java17 image appears to ship a knockd binary that requires GLIBC_2.34, while the image itself is based on Ubuntu 20.04 (glibc 2.31). As a result, autopause fails to start.

Container definition

services: 
    minecraft: 
        image: itzg/minecraft-server:java17 
        environment: 
            EULA: "TRUE" 
            TYPE: FABRIC 
            VERSION: "1.20.1" 
            ENABLE_AUTOPAUSE: "true"

Container logs

[init] Autopause functionality enabled
[init] Updated server port in knockd config
/usr/local/sbin/knockd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/sbin/knockd)
[Autopause loop] Failed to start knockd daemon.
[Autopause loop] Probable cause: Unable to attach to interface "eth0".
[Autopause loop] Available interfaces within the docker container:
[Autopause loop]   eth0
[Autopause loop] Please set the environment variable AUTOPAUSE_KNOCK_INTERFACE to the interface that handles incoming connections.
[Autopause loop] If unsure which interface to choose, run the ifconfig command in the container.
[Autopause loop] Autopause failed to initialize. This log entry will be printed every 30 minutes.

Metadata

Metadata

Assignees

Labels

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions