sail icon indicating copy to clipboard operation
sail copied to clipboard

'server password' needed, but not documented

Open rogiervandenberg opened this issue 6 years ago • 4 comments

When following the Quick Start, there's Requirements, Install, Verify, Run. But then, the container asks for a server password:

image

What to enter here, or where to set it? It is missing in the documentation.

rogiervandenberg avatar Oct 30 '19 13:10 rogiervandenberg

I've got the same, no solution for me at this time.

shiipou avatar Nov 22 '19 08:11 shiipou

The password can be found by doing this on the host:

docker logs <container_name>

One of the lines in there will show:

info - Password is XYZ

Use XYZ as the password into the IDE

shah avatar Nov 23 '19 19:11 shah

It's weird, as sail seems to run code-server with the --no-auth flag: https://github.com/cdr/sail/blob/bcf906366e626d48e9722319c3d50b5d8c48ec02/runner.go#L173

tennox avatar Nov 29 '19 10:11 tennox

I think code-server changed the flag to --auth=none.

tennox avatar Nov 29 '19 11:11 tennox