COVESA / vsomeip

An implementation of Scalable service-Oriented MiddlewarE over IP
Mozilla Public License 2.0
1.01k stars 647 forks source link

[BUG]: How to enable someip to communicate between docker container and non container application #680

Closed shubham25091998 closed 2 weeks ago

shubham25091998 commented 3 weeks ago

vSomeip Version

3.4.10

Boost Version

1.71

Environment

Ubuntu 20.04

Describe the bug

I tried a communication between someip server application running in docker container with someip client application running directly as normal process. I have connected docker container to host network also, but no communication is happening between client and server. Client and server able to communicate when both run in container. So, is there any way in when docker and non docker application communicate over someip.

Reproduction Steps

No response

Expected behaviour

No response

Logs and Screenshots

No response

giovanniojan commented 2 weeks ago

as a workaround, I suggest you to bind /tmp host folder to guest (see https://docs.docker.com/storage/bind-mounts/) ; in this case the communication will be made via unix domain sockets

goncaloalmeida commented 2 weeks ago

@shubham25091998 this is not a defect/bug. Please use the discussion tab