This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cd319b570c655f063b7cc49cc9c04f0406eb6d4f
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Wed May 20 11:10:08 2026 +0200

    Add IPC_LOCK capability when starting Hashicorp Vault container
    
    which is a new requirement since 2.0.1
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../vault/services/HashicorpVaultLocalContainerInfraService.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/test-infra/camel-test-infra-hashicorp-vault/src/main/java/org/apache/camel/test/infra/hashicorp/vault/services/HashicorpVaultLocalContainerInfraService.java
 
b/test-infra/camel-test-infra-hashicorp-vault/src/main/java/org/apache/camel/test/infra/hashicorp/vault/services/HashicorpVaultLocalContainerInfraService.java
index ac3a4551cff8..55b05d1a86aa 100644
--- 
a/test-infra/camel-test-infra-hashicorp-vault/src/main/java/org/apache/camel/test/infra/hashicorp/vault/services/HashicorpVaultLocalContainerInfraService.java
+++ 
b/test-infra/camel-test-infra-hashicorp-vault/src/main/java/org/apache/camel/test/infra/hashicorp/vault/services/HashicorpVaultLocalContainerInfraService.java
@@ -18,6 +18,7 @@ package org.apache.camel.test.infra.hashicorp.vault.services;
 
 import java.util.function.Consumer;
 
+import com.github.dockerjava.api.model.Capability;
 import org.apache.camel.spi.annotations.InfraService;
 import org.apache.camel.test.infra.common.LocalPropertyResolver;
 import org.apache.camel.test.infra.common.services.ContainerEnvironmentUtil;
@@ -72,6 +73,7 @@ public class HashicorpVaultLocalContainerInfraService
 
                 withNetworkAliases(containerName)
                         .withEnv("VAULT_DEV_ROOT_TOKEN_ID", DEFAULT_TOKEN)
+                        .withCreateContainerCmdModifier(cmd -> 
cmd.getHostConfig().withCapAdd(Capability.IPC_LOCK))
                         .withLogConsumer(logConsumer)
                         .waitingFor(Wait.forListeningPort())
                         
.waitingFor(Wait.forLogMessage(".*Development.*mode.*should.*", 1));

Reply via email to