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

Trying to migrate from `testcontainers-python` v3.7.1 to v4.4.0 and `get_exposed_port` isn't working as expected. Using the construct `exposed_port = engine.get_exposed_port(engine.port_to_expose)` works fine in v3.7.1, giving the exposed port that can...

**Describe the bug** The test `modules/mssql/tests/test_mssql.py::test_docker_run_azure_sql_edge` fails when run with pytest. ![Screenshot 2024-04-17 at 21 48 16](https://github.com/testcontainers/testcontainers-python/assets/13573675/245a913f-fef3-4191-89cc-7f7f147449b7) **To Reproduce** Run the test: `pytest modules/mssql/tests/test_mssql.py::test_docker_run_azure_sql_edge` **Runtime environment** MacBook M2 with ARM...

per this notice: "Azure SQL Edge no longer supports the ARM64 platform." https://learn.microsoft.com/en-us/azure/azure-sql-edge/disconnected-deployment the old azure sql edge images which have arm64 equivalents don't have `sqlcmd` which we use for...

**Describe the bug** When Docker is run in [rootless mode](https://docs.docker.com/engine/security/rootless/), the `ryuk` fails to start as the docker socket mounted as a volume has the wrong permissions (`nobody:nobody`). This can...

**Describe the bug** The test `test_dind_inherits_network` fails when run with pytest. ![Screenshot 2024-04-17 at 19 05 18](https://github.com/testcontainers/testcontainers-python/assets/13573675/d904c770-3ced-476a-a652-05973dad978e) **To Reproduce** Run the test: `pytest core/tests/test_docker_in_docker.py::test_dind_inherits_network` **Runtime environment** MacBook M2 with ARM...

**Describe the bug** The test `core/tests/test_docker_in_docker.py::test_wait_for_logs_docker_in_docker` fails when run with pytest: ![Screenshot 2024-04-17 at 18 49 08](https://github.com/testcontainers/testcontainers-python/assets/13573675/020989cb-c36b-4d4d-99f7-38979fb09b15) **To Reproduce** Run the test like so: `pytest core/tests/test_docker_in_docker.py::test_wait_for_logs_docker_in_docker` **Runtime environment** MacBook M2...

get us a new fancy badge! splitting conversation from https://github.com/testcontainers/testcontainers-python/pull/460/files#r1536760017

**Describe the bug** A clear and concise description of what the bug is. What did you expect to happen? What happened instead? Main code exists inside a devcontainer. The host...

When installing some of our community modules through `extras`, we usually bundle a client library for interacting with the service provided from the container. In some cases this is nice,...

🚀 enhancement

**Describe the bug** when we added #388 it reads stale data (or even in an older format?) and fails to connect to docker, preferring to connect to a tc desktop...