diff --git a/common/testcontainers/testcontainers.go b/common/testcontainers/testcontainers.go index 83da6af599..d3599997a5 100644 --- a/common/testcontainers/testcontainers.go +++ b/common/testcontainers/testcontainers.go @@ -31,6 +31,9 @@ type TestcontainerApps struct { // NewTestcontainerApps returns new instance of TestcontainerApps struct func NewTestcontainerApps() *TestcontainerApps { timestamp := time.Now().Nanosecond() + // In order to solve the problem of "creating reaper failed: failed to create container" + // refer to https://github.com/testcontainers/testcontainers-go/issues/2172 + os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true") return &TestcontainerApps{ Timestamp: timestamp, }