ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There's me again.

Short answer: It is not possible.

Long answer: Docker in WSL2 can use --network=host, it will use kinda bridged network with the WSL but I cannot enter from Windows. This is because Ubuntu will be reachable, lets say for example at *172.19.48.1 which you can query from ipconfig. Then, Docker containers get assigned an IP like 172.19.58.1 which I found by installing ifconfig inside the container (Yes, I've read that it's outdated but anyways...). At my equipment it is **not possible to have a route reaching that container.

There's me again.

Short answer: It is not possible.

Long answer: Docker in WSL2 can use --network=host, it will use kinda bridged network with the WSL but I cannot enter from Windows. This is because Ubuntu will be reachable, lets say for example at *172.19.48.1172.19.48.1 which you can query from ipconfig. Then, Docker containers get assigned an IP like 172.19.58.1 which I found by installing ifconfig inside the container (Yes, I've read that it's outdated but anyways...). At my equipment it is **notnot possible to have a route reaching that container.