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

## What are you trying to do? I have a docker image which is based on postgres, but contains additional some (large) *.sql files in /docker-entrypoint-initdb.d/ . When the docker...

📖 documentation

**Describe the bug** `K3SContainer` calls `get_container_host_ip` in its `__init__` method [here and here](https://github.com/testcontainers/testcontainers-python/blob/main/modules/k3s/testcontainers/k3s/__init__.py#L45-L46) before the container is started, causing it to fail with an `AssertionError` [here](https://github.com/testcontainers/testcontainers-python/blame/main/core/testcontainers/core/container.py#L229-L231). **To Reproduce** ```python from...

**What are you trying to do?** Today we can use the `DockerCompose` class to start a compose file https://github.com/testcontainers/testcontainers-python/blob/60d21f875f49f52e170b0714e8790080a6cb4c71/core/testcontainers/compose/compose.py#L156-L157 [Podman](https://podman.io/) has a unique feature called [Podman Kube Play](https://docs.podman.io/en/v5.5.1/markdown/podman-kube-play.1.html) allowing you...

🚀 enhancement

Hi, we're running Testcontainers in Openshift using Kubedock; when using `RedpandaContainer`, our tests break because , after the container is started, the actual startup script is copied to `/` which...

**What is the new container you'd like to have?** MongoDB Atlas is a local version of the MongoDB Atlas cloud database, which includes extra services like search/vector search **Why not...

🚀 enhancement

**What is the new container you'd like to have?** Apache Solr - https://hub.docker.com/_/solr - https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html **Why not just use a generic container for this?** Similar to OpenSearch and Elasticsearch, there's...

🚀 enhancement

**What are you trying to do?** Add `get_async_client()` method to OpenFGAContainer to support async OpenFGA clients. Previous issue regarding OpenFGA with the initial contribution is: https://github.com/testcontainers/testcontainers-python/issues/806 **Why should it be...

🚀 enhancement

**Describe the bug** The basic example from Keycloak does not run. There is actually another "solvable" bug that the library [python-keycloak](https://github.com/marcospereirampj/python-keycloak) does not work on version `5.7.1` due to a...