[GH-ISSUE #624] Bug: capabilities adding prefix "CAP_" #205

Closed
opened 2026-02-26 04:34:23 +03:00 by kerem · 2 comments
Owner

Originally created by @BenedyktB on GitHub (May 15, 2025).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/624

After update from docker compose v2.33.0 to v2.33.1 container dns-proxy-server from mageddo started logging problem:

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `com.github.dockerjava.api.model.Capability` from String "CAP_SYS_PTRACE": not one of the values accepted for Enum class: [ALL, SYS_BOOT, DAC_OVERRIDE, NET_RAW, BLOCK_SUSPEND, FOWNER, IPC_LOCK, IPC_OWNER, SYS_PACCT, NET_BIND_SERVICE, WAKE_ALARM, FSETID, DAC_READ_SEARCH, SYS_CHROOT, AUDIT_READ, SYS_RAWIO, SYS_ADMIN, KILL, MAC_ADMIN, SYS_RESOURCE, CHOWN, PERFMON, SETPCAP, SYS_PTRACE, NET_ADMIN, SETFCAP, SYS_NICE, LINUX_IMMUTABLE, BPF, AUDIT_CONTROL, LEASE, AUDIT_WRITE, SYS_MODULE, MKNOD, SYSLOG, MAC_OVERRIDE, SYS_TIME, SETGID, SETUID, CHECKPOINT_RESTORE, SYS_TTY_CONFIG, NET_BROADCAST]
 at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: 

This issue is from adding to other containers in docker compose file:

cap_add:
    - SYS_PTRACE

After deleting this code problem is resloving but I cannot use some of functions I have in containers.

This issue was already reported to docker.
Their response is here: https://github.com/docker/compose/issues/12830

Originally created by @BenedyktB on GitHub (May 15, 2025). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/624 After update from docker compose v2.33.0 to v2.33.1 container dns-proxy-server from mageddo started logging problem: ``` Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `com.github.dockerjava.api.model.Capability` from String "CAP_SYS_PTRACE": not one of the values accepted for Enum class: [ALL, SYS_BOOT, DAC_OVERRIDE, NET_RAW, BLOCK_SUSPEND, FOWNER, IPC_LOCK, IPC_OWNER, SYS_PACCT, NET_BIND_SERVICE, WAKE_ALARM, FSETID, DAC_READ_SEARCH, SYS_CHROOT, AUDIT_READ, SYS_RAWIO, SYS_ADMIN, KILL, MAC_ADMIN, SYS_RESOURCE, CHOWN, PERFMON, SETPCAP, SYS_PTRACE, NET_ADMIN, SETFCAP, SYS_NICE, LINUX_IMMUTABLE, BPF, AUDIT_CONTROL, LEASE, AUDIT_WRITE, SYS_MODULE, MKNOD, SYSLOG, MAC_OVERRIDE, SYS_TIME, SETGID, SETUID, CHECKPOINT_RESTORE, SYS_TTY_CONFIG, NET_BROADCAST] at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: ``` This issue is from adding to other containers in docker compose file: ``` cap_add: - SYS_PTRACE ``` After deleting this code problem is resloving but I cannot use some of functions I have in containers. This issue was already reported to docker. Their response is here: https://github.com/docker/compose/issues/12830
kerem closed this issue 2026-02-26 04:34:23 +03:00
Author
Owner

@justarandomgeek commented on GitHub (Nov 8, 2025):

So, is this project abandoned? this is a show-stopper level bug that has been ignored for like 6 months!

<!-- gh-comment-id:3506624059 --> @justarandomgeek commented on GitHub (Nov 8, 2025): So, is this project abandoned? this is a show-stopper level bug that has been ignored for like 6 months!
Author
Owner

@mageddo commented on GitHub (Dec 26, 2025):

Fixed since 4.0.0-snapshot. Thanks for the report.

<!-- gh-comment-id:3691871014 --> @mageddo commented on GitHub (Dec 26, 2025): Fixed since [4.0.0-snapshot](https://github.com/mageddo/dns-proxy-server/releases/tag/4.0.0-snapshot). Thanks for the report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#205
No description provided.