question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Capability not found

See original GitHub issue

We are getting this exception trying to run a container:

org.testcontainers.shaded.com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.github.dockerjava.api.model.Capability from String "BPF": value not one of declared Enum instance names: [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, SYS_RAWIO, SYS_ADMIN, KILL, MAC_ADMIN, SYS_RESOURCE, CHOWN, SETPCAP, SYS_PTRACE, NET_ADMIN, SETFCAP, SYS_NICE, LINUX_IMMUTABLE, AUDIT_CONTROL, LEASE, AUDIT_WRITE, SYS_MODULE, MKNOD, SYSLOG, MAC_OVERRIDE, SYS_TIME, SETGID, SETUID, SYS_TTY_CONFIG, NET_BROADCAST]

According to docker docs: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities, it exists more possible values.

I think that to fix the error just need to add the missing values to com.github.dockerjava.api.model.Capability.

Would be possible add the missing values?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jmformenticommented, Sep 20, 2022

Opened PR #1955

1reaction
jmformenticommented, Sep 20, 2022

Yes, of course, I’ll try to create a new PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Getting a ERROR: Procedure CAPABILITY not found.
Solved: Hello I am trying to run a probability plot but I am getting the error below. Please note code below as well....
Read more >
Channel capability not found after chain_id change · Issue #613
I found a simmilar issue here. In my case though, creating a new channel and transferring over it works fine.
Read more >
AzurePS capability not detected - Visual Studio Feedback
I have 4 self hosted build agent, with Az PS Module Installed with Install-Module cmdlet. 2 agents have the AzurePS capability detected.
Read more >
I cant find push notifications in xcode 11 - Apple Developer
I have trouble finding the capability push notifications in xcode 11. am I missing something is this in the developer program ?
Read more >
SOLVED: iCloud Capability not available in Xcode – SwiftUI
I'm following the Designing a great model tutorial and in the section on adding capabilities to the application target, I do not see...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found