testcontainers-spring-boot: Redis container fails on Bitbucket-Pipelines due to limitations
Bitbucket-Pipelins does not allow the use of the --cap-add parameter so when EmbeddedRedisBootstrapConfiguration tries to use it, this causes an exception.
I do not know what this particular parameter does or why it is necessary but i verified via drop-in replacement that simply removing it from EmbeddedRedisBootstrapConfiguration allows redis to start and tests with redis to run.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- Make capabilities configurable fixes #495 — committed to PlaytikaOSS/testcontainers-spring-boot by deleted user 3 years ago
- Make capabilities configurable (#721) fixes #495 — committed to PlaytikaOSS/testcontainers-spring-boot by deleted user 3 years ago
version 2.0.13 will be shortly in maven central
I will have a look, I think that we can make this configurable.
There is no module for it, but it doesn’t mean that you can’t use Aerospike with Testcontainers, as there is
GenericContainerthat you can use with any Docker image.See https://github.com/testcontainers/testcontainers-java/issues/153#issuecomment-223946490