What worked for others: Look at the hosts file workaround in YANG Suite docker install on Windows 10.Ĭannot start service nginx: Ports are not available: listen tcp 0.0.0.0:80 ERROR: for nginx Cannot start service nginx: Ports are not available: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions. After I shut down the VPN and connected to the public Internet, I was able to install cleanly. What worked for me: I had this problem when installing over my corporate VPN. Service 'yangsuite' failed to build : Head : dial tcp: lookup on 192.168.65.1:53: no such host Lookup on 192.168.65.1:53: no such host Building yangsuite ![]() If you get an error that says on 192.168.65.1:53: no such host, then look at the Problem Encountered section below.Įach of these errors caused my first few attempts to fail. PS C:\yang\yangsuite\docker> docker-compose up Alternatively, you can install dos2unix on WSL2 Ubuntu with sudo apt-get install dos2unix. I used git bash b/c it was installed on my laptop and it has dos2unix. The github files have Unix LF, but cloning them to Windows seems to change LF to Windows CRLF. I used Ubuntu on WSL2.Ĭonvert Windows CRLF to Unix MINGW64 /c/yang/yangsuite (develop) Windows 10 does not have openssl from a trusted source. Generate self-signed certificate and key. Nginx requires different port bindings because the Windows System process is bound to port 80. optional: change yangsuite admin username/password.ToolĮdit yangsuite/docker/docker-compose.yml. Pick whatever Windows folder is good for you. I installed YANG Suite in C:\yang where I keep all my YANG modules and software. I had a few challenges and incorporated their fixes into my procedure. This article shows you how I installed YANG Suite Docker on Windows 10.
0 Comments
Leave a Reply. |