Replies: 11 comments 1 reply
-
Hey @Dzeri96 thank you very much for submitting your issue and helping us improving Gefyra! You totally understood correctly what we're trying to access here! This code means to make the setup of Gefyra a bit more convenient. I suspect if you pass the
Run
Could you please check whether this actually helps you for the moment? |
Beta Was this translation helpful? Give feedback.
-
Hi, I've tried the suggested fix but unfortunately it does not seem to work. |
Beta Was this translation helpful? Give feedback.
-
@Dzeri96 could you please provide the following information: |
Beta Was this translation helpful? Give feedback.
-
@SteinRobert I can give you exact info in a few hours when I'm in front of my PC, but I'm using kind locally. Tried both the host/port from the kubectl config and the internal ip of the main (and only) node. |
Beta Was this translation helpful? Give feedback.
-
No stress :) |
Beta Was this translation helpful? Give feedback.
-
@SteinRobert Just came home and I can confirm that I did create a kind cluster with the provided config. I don't know how to test reachability of this port but docker says that port forwarding is indeed enabled. If you would like to speed up debugging I can jump onto some kind of instant messaging platform. |
Beta Was this translation helpful? Give feedback.
-
Alright - which version of kind are you using? I'll be available on the Unikube Slack during the week - we can certainly have a look at your issue there aswell. |
Beta Was this translation helpful? Give feedback.
-
My kind version is |
Beta Was this translation helpful? Give feedback.
-
The Gefyra client is currently depending on Docker overlay networks. It was a design decision to make the connectivity to a development machine as scoped as possible. This feature is not available with Docker rootless, though: https://docs.docker.com/engine/security/rootless/#known-limitations If you're about to evaluate Gefyra, you may use Docker Desktop on Ubuntu. You will, however, sacrifice performance. A blog post about this (comparing Podman and Docker) will follow later this week picking up Docker rootless, too. |
Beta Was this translation helpful? Give feedback.
-
Alright, thanks for the clarification. I'd be open to contribute but the issue is a bit over my head at the moment. |
Beta Was this translation helpful? Give feedback.
-
Thanks @Schille for the input! So it seems we will not be able to support rootless Docker very soon. The overlay network functionality is currently essential for Gefyra itself. I will move this issue to discussion. Anyone looking for rootless docker support - we'd really appreciate signs like upvote and input on this. |
Beta Was this translation helpful? Give feedback.
-
What happened?
I'm trying to run gefyra 1.0.2 on with rootless docker and the CLI seems to crash with the following stack trace:
Since rootless docker does not support bridge networking, and therefore there is no
docker0
interface present, ioctl throws this error.What did you expect to happen?
The app not to crash I guess. To be honest I'm not sure if gefyra can work in this setup.
How can we reproduce it (as minimally and precisely as possible)?
Run docker in rootless mode and execute the gefyra client.
What Kubernetes setup are you working with?
OS version
Anything else we need to know?
If this setup is not possible, I suggest a disclaimer be added to the documentation. Otherwise, what could we do to enable this functionality?
Beta Was this translation helpful? Give feedback.
All reactions