couldn't resolve publisher host [nx] docker
Hello,
I am using Linux Ubuntu.
I am using docker container, where the localhost is named as 'nx' as default. (I didn't set it.)
When I run ping nx in host terminal, it works.
However, when I run ping nx in the container, it doesn't recognize nx.
Furthermore, when I set ROSMASTERURI=http://nx:11311 or the original IP of nx inside docker container,
The output is 'couldn't resolve publisher host [nx]`
How can I deal with this error?
When I run docker container, I already add --network=host argument in docker run command.
TIA
Asked by mirakim on 2023-06-15 06:44:08 UTC
Comments