sail icon indicating copy to clipboard operation
sail copied to clipboard

docker run works / sail run fails (failed to refresh code-server port...)

Open zibberzoo opened this issue 5 years ago • 0 comments

I am using WSL 2 with Docker Desktop Edge (WSL 2 integration selected).

I can run images via docker from within my Ubuntu 18.04 WSL 2 instance; however, when running via sail, browsers fail to connect to 127.0.0.1:xyz for the port xyz reported by sail run. The problem persists even when my firewall is turned off. The log files show two and only two lines. An example is:

2020-01-05 23:19:01 INFO listening on http://127.0.0.1:38997 2020-01-05 23:19:12 FATAL failed to refresh code-server port: failed while trying to find code-server port: Get http://localhost:42739: dial tcp 127.0.0.1:42739: connect: connection refused

I'm glad to try various approaches, send more configuration/log information, etc. Please advise ways to get past this issue.

Thanks, -z

zibberzoo avatar Jan 06 '20 05:01 zibberzoo