testcontainers-python
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.
### Description: This PR addresses issue #679 by introducing the depends_on functionality to DockerContainer, enhancing feature parity with the dependsOn functionality in TC-java by allowing containers to define dependencies. With...
**What are you trying to do?** python equivalent of the linked java issue **Why should it be done this way?** see linked issue **Other references:** https://github.com/testcontainers/testcontainers-java/issues/9908
**Describe the bug** when using a Blob Service Client on a Azurite container, an azure blob storage container cannot be created, thus testing that requires containers cannot continue. E.g. `get_blob_client`...
**Describe the bug** Starting two testcontainers at once triggers both of them to call `Reaper._create_instance` close in time. Both `Reaper` instances attempt to create the same ryuk container (since `SESSION_ID`...
## What are you trying to do? How can I specify argument such as `--privileged` or `--user` when starting a container? ## Where are you trying to do it? I...
In testcontainers-java, the stdout and stderr of the container are streamed to slf4j, making it easy to follow up on the logs of the containers as the test progresses. It's...
**Describe the bug** testcontainer does not start with version 0.10.0 ryuk in apple mac m1 chip. Refer to the reproducer at [tc-python-version-bug](https://github.com/debu999/tc-python-version-bug) branch: main default 0.8.1 ryuk working branch: feature/tc-ryuk-0.9.0...
I found the Trino container usually query failed due to `nodes is empty`. I tried to execute `SELECT * FROM system.runtime.nodes` and `SHOW CATALOGS LIKE 'tpch'` before querying to ensure...
**Describe the bug** When running the SqlServerContainer, in this example with the image `mcr.microsoft.com/mssql/server:2022-CU12-ubuntu-22.04`, some parameters have no effect on the actual database and lead to failures. It seems like...
following feedback from breakages and recent changes 1. logs do not work so great when custom image or localizations 2. logs needed to be waited twice 3. pg_isready seems to...