-
-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Could not start container: creating reaper failed #2477
Comments
Same for me. Started after update to 0.30.0 |
V0.30.0 has been causing issues in my team as well. Different setups running Docker Desktop and Rancher - both running consistently into:
or
Downgrading to v0.29.2 fixed it. |
Mmm I'm going to prioritise this, as it should work.... Please check the +100 usages of this new release without issue (I supose) https://github.com/search?q=%22testcontainers-go+v0.30%22+path%3Ago.mod+NOT+is%3Afork+NOT+org%3Atestcontainers+&type=code From the logs, it seems Ryuk dies before the next container is started. Could you try enabling the verbose mode in Ryuk and trying to capture Ryuk logs and see if the connections are happening? |
👋 seeing the same issue. https://github.com/openfga/openfga/actions/runs/8926586012/job/24517945125. |
I'm not sure about the original error in this issue but the "port not found: creating reaper failed: failed to create container" that was mentioned by @weeco seems to be related to #605 With the commit 5fa6548 In my setup this doesn't only affect Ryuk but other containers as well. Line 168 in 5fa6548
|
I encountered the same issue. Workaround of @stubents did not fix it for me. |
I guess this should be fixed by #2508. |
@kiview I'm still having this issue with colima version 0.6.9, is there anything I can do to fix that? |
any updates? |
Could be related to the fix here testcontainers/moby-ryuk#121, still needs a release and then testcontainers-go updating to use the new image. Try cloning the moby-ryuk repo and running the following in it to replace the image that testcontainers-go uses to see if it does fix: docker build -f linux/Dockerfile -t testcontainers/ryuk:0.7.0 . |
Just got this with version 0.32.0 on my Ubuntu machine. We get this once in awhile on CI as well (Github Actions), but I haven't seen this happening often on dev machine yet.
Feels like, this should not be a closed issue, as it still happens on latest published version? |
@strowk does it happen using the HEAD commit in main? We usually close the issues when PR fixing them are merged (thanks to Github links) so I think it's a common practice to do that. |
Hello! Trying out testcontainer for the first time and just into this issue. I see the bump Ryuk 0.8.1 but still getting this error
My setup is super minimal. Just want to bring up a postgres container.
Using Colima + macOS. Curious if there's any workaround for this? |
Ah as a workaround I set env var Related issue i think #2798 ? |
Same problem here: pgContainer, err := containerPostgres.Run(ctx,
"docker.io/postgres:13.3-alpine",
// containerPostgres.WithInitScripts(filepath.Join("../../assets", "db", "initdb.sql")),
// containerPostgres.WithConfigFile(filepath.Join("testdata", "my-postgres.conf")),
containerPostgres.WithDatabase(dbName),
containerPostgres.WithUsername(dbUser),
containerPostgres.WithPassword(dbPassword),
// testcontainers.WithHostPortAccess(5432),
testcontainers.WithWaitStrategy(
wait.ForLog("database system is ready to accept connections").
WithStartupTimeout(25*time.Second),
wait.ForListeningPort("5432/tcp"),
),
) setting TESTCONTAINERS_RYUK_DISABLED to true to keep working. |
Could you check with the branch from #2728 to see if that fixes the issue for you @marcosfilhote please? |
Testcontainers version
0.30.0
Using the latest Testcontainers version?
Yes
Host OS
Windows 11
Host arch
amd64
Go version
1.21.6
Docker version
$ docker version Client: Cloud integration: v1.0.35+desktop.11 Version: 25.0.3 API version: 1.44 Go version: go1.21.6 Git commit: 4debf41 Built: Tue Feb 6 21:13:02 2024 OS/Arch: windows/amd64 Context: default Server: Docker Desktop 4.28.0 (139021) Engine: Version: 25.0.3 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: f417435 Built: Tue Feb 6 21:14:25 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
Docker info
What happened?
I ran an integration test that spins up a PostgreSQL database which usually works without any issue on other systems. But on this machine it says:
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: