-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Share a network between 2 rootless instances #367
Comments
https://github.com/rd235/vdeplug4 (host)$ vde_plug --daemon switch:///tmp/switch null://
(host)$ nsenter -t $(cat /tmp/pid-instance0) -U --preserve-credentials -n
(namespace-instance0)$ vde_plug --daemon vde:///tmp/switch tap://vde
(namespace-instance0)$ ip link set vde up
(namespace-instance0)$ ip addr add 192.168.42.100/24 dev vde
(namespace-instance0)$ exit
(host)$ nsenter -t $(cat /tmp/pid-instance1) -U --preserve-credentials -n
(namespace-instance1)$ vde_plug --daemon vde:///tmp/switch tap://vde
(namespace-instance1)$ ip link set vde up
(namespace-instance1)$ ip addr add 192.168.42.101/24 dev vde
(namespace-instance1)$ ping 192.168.42.100 |
As I understand it, I must use docker pid like this: |
Please make sure to run |
vde_plug --daemon switch:///tmp/switch null:// : create a daemon |
I had a little time so I tried again. |
Hello,
I trying rootless for docker but I can't find solution to share a network between 2 rootless instances.
I have a machine with some users. Each users have a rootless instance. But for HAproxy and Traefik we need a network for the backend.
Is there something I missed or a workaround to bypass this problem?
Thank you
The text was updated successfully, but these errors were encountered: