coder / sail

Deprecated: Instant, pre-configured VS Code development environments.
https://sail.dev
MIT License
629 stars 36 forks source link

'server password' needed, but not documented #248

Open rogiervandenberg opened 4 years ago

rogiervandenberg commented 4 years ago

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.

shiipou commented 4 years ago

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

shah commented 4 years ago

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

tennox commented 4 years ago

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 commented 4 years ago

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