-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Reproducible "IllegalStateException: Can not connect to Ryuk" (on Fedora 29 with "docker" 1.13.1 - runc) #1356
Comments
BTW: Just building this project on the same machine hits a similar problem:
|
This is a really old Docker version (1.13 was release in January 2017) and I always wonder what distributions are doing when building their Docker packages in general. Testcontainers on Fedora 29 with Docker from Docker CE repository works fine:
I know our docs say that Testcontainers requires Docker version 1.10 on Linux, but I don't think Docker backward compatibility is something we actively ensure. However, this could also be something related to SELinux config for the Docker package in Fedora? |
I can confirm that (first un-installing and then) installing Docker.com CE via https://docs.docker.com/install/linux/docker-ce/fedora/, instead of Fedora's Docker, works around this problem and makes Testcontainers "just work" out of the box. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case. |
I am hitting the
IllegalStateException: Can not connect to Ryuk
problem similar to #581, #780, #892, #1014 et al, but in my case it's not sporadic but always 100% reproducible - see vorburger/opendaylight-etcd#14.It also happens with a much simpler reproducer project like this:
The
pom.xml
:and
src/test/java/ch/vorburger/testcontainer/quicktest/TheTest.java
:As mentioned in vorburger/opendaylight-etcd#14, this is probably of interest & related:
As mentioned in vorburger/opendaylight-etcd#14, disabling Ryuk by setting
TESTCONTAINERS_RYUK_DISABLED
environment variable totrue
works around it (but in an ideal world, this would not be required and the root cause of this fixed).This is on Fedora 29 with "docker" 1.13.1 from Fedora package
docker-2:1.13.1-65.git1185cfd.fc29.x86_64
, not docker.com:The text was updated successfully, but these errors were encountered: