docker container #1221
-
|
Can a docker container access to the host machine's published topic? My naive approach doesn't seem to work. Please share if you have any suggestions. Interestingly, in the container, i can list and can see the io2x files. but it doesn't seem to receive the data. This python works on the host but not the container. while not self.stop_event.is_set():
if self.stop_event.is_set():
break
sample = subscriber.receive()
if sample is None:
print("nothing") # only this comes out in the container
continueEverything same version 0.7.0, python3.12. inside-docker terminal and docker-compose.yml |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@ElliotHYLee if the users in the docker do not match the users on your host, the communication cannot be established, due to the zero-trust approach of iceoryx2. But there is the |
Beta Was this translation helpful? Give feedback.
@ElliotHYLee if the users in the docker do not match the users on your host, the communication cannot be established, due to the zero-trust approach of iceoryx2. But there is the
dev_permissionsfeature flag to enable processes of all users to communicate with each other. This is a workaround for a docker container which users are not set up the same way as on the host system. It is not meant to be used in production, though.