Skip to content

Capability not found #1949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jmformenti opened this issue Sep 16, 2022 · 5 comments
Closed

Capability not found #1949

jmformenti opened this issue Sep 16, 2022 · 5 comments

Comments

@jmformenti
Copy link
Contributor

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?

@eddumelendez
Copy link
Member

thanks for reporting this @jmformenti ! would you like to contribute?

@jmformenti
Copy link
Contributor Author

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

@jmformenti
Copy link
Contributor Author

Opened PR #1955

@Rkuro
Copy link

Rkuro commented Oct 15, 2022

@eddumelendez can we publish a new version (or at least an RC) now that #1955 has been merged? We are hitting this as well

@eddumelendez
Copy link
Member

it was released as part of 3.2.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants