-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
I am in a similiar situation described here (theia inside docker in docker):
https://lists.apache.org/thread.html/re234e7b7b0540562d2748a9ba5a2f4da4857de328836d90b7f9d6d95%40%3Cdev.openwhisk.apache.org%3E
I am trying to use wskdebug inside a container running with
-v /var/run/docker.sock:/var/run/docker.sock
When I launch the debug inside theia, it tries to connect to localhost, but it fails.
The correct address should be 172.17.0.1 which is the docker0 network interface on the host.
This is a screenshot:

I tried with different docker configurations with no luck (different -p, --network and privileged) so I think I have to solve on debugger side.
I am not an npm/nodejs super expert, so before start experiments, I would like to know your opinion about this issue.
Maybe there is already an option to specify a different host to whick wskdebug connect..
Can you help me please?