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?
Activity
eddumelendez commentedon Sep 19, 2022
thanks for reporting this @jmformenti ! would you like to contribute?
jmformenti commentedon Sep 20, 2022
Yes, of course, I'll try to create a new PR
jmformenti commentedon Sep 20, 2022
Opened PR #1955
Rkuro commentedon 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 commentedon Nov 23, 2022
it was released as part of 3.2.14