Communication between YARP server on a host machine and a Docker container #3124
-
Hello. I am unable to connect ports between a YARP server running on the host machine and a Docker container. So far, I have tested https://hub.docker.com/r/robotology/yarp (running a quite old YARP 3.1) and also a custom image built with YARP 3.9, enabling ports in this manner:
I have properly configured the conf file, so that
I get (several debug lines have been redacted out):
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
So far I have narrowed it down to a "[111] Connection refused" error (replacing line 112 with yarp/src/libYARP_os/src/yarp/os/impl/posix/TcpConnector.cpp Lines 91 to 133 in bde9cd2 |
Beta Was this translation helpful? Give feedback.
-
Solved, I have been using Rootless Docker and probably hit some if its known limitations. I switched to using Docker as a non-sudo user and it worked, even without the need of |
Beta Was this translation helpful? Give feedback.
Solved, I have been using Rootless Docker and probably hit some if its known limitations. I switched to using Docker as a non-sudo user and it worked, even without the need of
--network host
. Thanks @jgvictores @imontesino!