Replies: 1 comment 2 replies
-
Hi @miguelh72, Thanks for raising this! The issue is caused by Docker-in-Docker when using WSL. To connect to your host Docker machine, set the NITRIC_DOCKER_HOST=$(ip -4 addr show eth0 | grep -o 'inet [0-9\.]*' | awk '{print $2}') nitric run This retrieves the correct IP address and sets it before running the command. We'll update the documentation for WSL. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am on a windows 11 using WSL2 with Debian. I've followed all instructions to setup Docker and DockerX and have used it many times in the current setup with other projects. Here is more system info:
Steps to reproduce the problem with error message:
I am trying to learn how to use Nitric so please forgive me if there is an obvious error I am making. From my limited understanding, it looks like the service container builds as expected but then fails to find the nitric gateway during the step where it declares the consumed services, resources, and security through an API to the nitric gateway. I am otherwise not sure what to do next to debug or fix. Any help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions