coder / sail

Deprecated: Instant, pre-configured VS Code development environments.

Home Page:https://sail.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'server password' needed, but not documented

rogiervandenberg opened this issue · 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.

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

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

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

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