testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.

Results 281 testcontainers-python issues
Sort by recently updated
recently updated
newest added

This PR will fix additional issue that are reported in #43 Improvement: - Improve host detection with docker internal hostname `host.docker.internal` - Improve overall host detection in different scenarios Bug...

Currently DockerCompose object is stopped like this. ``` def stop(self): down_cmd = self.docker_compose_command() + ['down', '-v'] subprocess.call(down_cmd, cwd=self.filepath) ``` The '-v' option is firmly coded - I would like to...

🛟 help wanted
📦 package: compose

Whenever I create an instance of PubsubContainer from google.cloud module, it raises an exception "Unexpected keyword argument 'channel' for PublisherClient.__init__".

👀 requires attention
🔧 maintenance
📦 package: google

https://min.io/ is s3 compatible storage system. I needed to use minio based test-containers to test some integrations. so I extended functionality accordingly.

In our current setup we have some Python code running on a docker container which uses `testcontainers` to create a `PostgreSQL` database container we can test with. All necessary requirements...

🐛 bug
👀 requires attention
📦 package: postgres
🍏 macos

I believe this is because this code assumes the presence of "bridge" https://github.com/testcontainers/testcontainers-python/blob/master/testcontainers/core/docker_client.py#L52 https://github.com/testcontainers/testcontainers-python/blob/master/testcontainers/core/docker_client.py#L48 which is not the case when the container runs in a specific docker network (possible to...

Can someone please help fix this issue? Not sure what to do. Container starts up fine. But my test is timing out. ``` py.test -s ========================================================================== test session starts ==========================================================================...

🐛 bug
👀 requires attention
📦 package: postgres
🪟 windows
🍏 macos

TimeScaleDb Container not available. is that any plan to add that? Thanks

enhancement
help wanted

@tillahoffmann Fixes based on comments in https://github.com/testcontainers/testcontainers-python/pull/34 - Merge kwargs instead of override - Using kwargs to store all the settings to prevent named parameter conflict with kwargs

So I'm using testcontainers within Java, as well as Python. I noticed that sometimes containers stick around in Python, while in Java they always get cleaned up properly thanks to...

help wanted