Skip to content

fix: clarify password reset process #797

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

Merged
merged 2 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion admin/access-control/password-reset.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ If you need to reset the password for a site admin, you can do so using coderd's
> You should have the
> [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) dependency
> installed from when you first set up Coder; if not, please sure to install it
> before proceeding.
> before proceeding. If you are using Docker, follow
> [these instructions](../../setup/docker#admin-password) instead.

To reset the password, run the following in the terminal:

Expand Down
5 changes: 3 additions & 2 deletions guides/troubleshooting/admin-pwd.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: Admin password reset
description: Learn how to resolve issues with resetting your admin password.
---

When resetting your Coder admin password in the terminal, you may encounter the
following error:
When
[resetting your Coder admin password](../../admin/access-control/password-reset.md#resetting-the-site-admin-password)
in the terminal, you may encounter the following error:

```console
error: unable to upgrade connection: error dialing backend: remote error: tls:
Expand Down
5 changes: 5 additions & 0 deletions setup/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ For example:
docker run --rm -it -p 7080:7080 -v /var/run/docker.sock:/var/run/docker.sock -v ~/.coder:/var/run/coder -e DEVURL_HOST="*.mycompany.com" codercom/coder:1.25.1
```

## Admin password

If you want to set (or reset) your admin password, use the
`-e SUPER_ADMIN_PASSWORD=<password>` flag with the `docker run` command.

## Scaling

Coder for Docker is limited by the resources of the machine on which it runs. We
Expand Down