-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL attempting to expose a port that is only open within a Docker container #9763
Comments
Original request to raise this as a new issue: VSCode Issue: Scenario:
VSCode is not required to demonstrate this issues see my first post of the simplest recreation of the issue. |
Please provide /logs
Thank-you |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
The powershell version did not work for me so I submitted using windows feedback system as detailed in link above, hopefully you can access from there. |
Sometimes those work, sometimes they don't. Thanks for letting me know it's in feedback hub. I'm sorry, I got rerouted elsewhere last week and won't be able to jump on this for the time being. When I do, I'll look. |
Version 1.1.5 of wsl seems to not have the issue with docker ports being exposed to windows. After upgrading to version 1.1.6 I had the same issue with docker of port already in use. My docker container binds to port 80 on 0.0.0.0 but would return port in use since windows is already listening on port 80. |
by me, it was running Apache on port 80, and it turns out that this was due to running WSL ubuntu in |
Good to know, unfortunately I need systemd |
FYI for me this issue only occurs when I set |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Evidence below of WSL attempting to expose a port that is only open within a Docker container
Docker service is installed inside WSL OS (tested with Ubuntu and Debian)
Note no port exposed to WSL OS in docker command
Steps to reproduce:
Originally posted by @PaulBurridge-Nasstar in #9751 (comment)
The text was updated successfully, but these errors were encountered: