-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No such container error #4803
Comments
I managed to run the project in a virtual box, but this time with the official Docker engine, instead of the one provided by dnf packager, and it ran has expected. So I'm closing this issue. |
Thanks for reporting and closing again with your fix. Indeed, we generally only support the official Docker packages, since some distro packages have a tendency to have strange quirks. Since you are using |
I'm on Fedora 35. What do you mean by "It might have even given you podman"? Can I use podman instead? |
Since podman is not yet a fully compatible Docker replacement, podman does not work with Testcontainers. Also, see our blog post with some insights on this topic. That being said, I just checked that However, I'd suggest continuing using the official Docker packages instead. The |
I had the same issue on fedora 37 and the official docker desktop downloaded from docker website. Problem was that docker desktop was returning success response to createContainer request and actually return an id, but I couldn't find that container anywhere or any logs related to it. Then the failure happens on startContainer call with the Solution for me was to uninstall docker desktop and use docker engine instead. |
Spring boot versions: 2.5.3
testcontainers version: 1.16.2
Added dependencies:
When I run the below integration test it gives the following error:
com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"No such container: 28b30f05bc53b19fae5f11daa9244e28f1eca57ceee6eb11558f1e730341c7f1"}
What I'm doing wrong!?
The text was updated successfully, but these errors were encountered: