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

Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to p...

Results 308 testcontainers-go issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Apologies if it is not a bug but kind of a blocker for me. I'm trying to start a Postgres container for my service isolation tests (or...

Start a mysql container, and then to execute some inits, the container.Exec exit code is 1, and the log shows ``` mysql: [Warning] Using a password on the command line...

SELinux prevents non privileged containers from accessing `/var/run/docker.sock`. ``` ❯ getenforce Enforcing ❯ docker run -v /var/run/docker.sock:/var/run/docker.sock quay.io/testcontainers/ryuk:0.2.3 2021/01/04 17:22:11 Starting on port 8080... panic: Got permission denied while trying...

This implementation mostly copies the prior waitForSql implementation, the difference being that the `waitForSqlWithHost` allows the user to construct a connection string using the host of the DB container. This...

Add tty for container This fix issue [365](https://github.com/testcontainers/testcontainers-go/issues/365)

I'm attempting to run tests from a container without docker installed. This isn't an issue for ContainerRequests since it's using the API, but compose relies on `docker-compose` being present on...

good-first-issue
compose

Feature for Issue #425 Added `ContainerisedDockerCompose` struct with embedded `LocalDockerCompose` and override all `DockerCompose` methods. Added two functions `executeInContainer` and `executeComposeInContainer`, that work with docker/compose container.

compose

As we are receiving more contributions 🚀 🎸 we'd need to define how to contribute in a more standard manner. Things that **I** like when doing a review of a...

Close https://github.com/testcontainers/testcontainers-go/issues/398 Instead of copying all the command output in a separate buffer and return it when the command stops, this PR allows to stream command output to a specific...

compose