Skip to content

Commit 2da796d

Browse files
bpmctKatie Horne
and
Katie Horne
authored
fix: clarify password reset process (coder#797)
* fix: clarify password reset process * edit text Co-authored-by: Katie Horne <katie@coder.com>
1 parent 71638a8 commit 2da796d

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

admin/access-control/password-reset.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ If you need to reset the password for a site admin, you can do so using coderd's
2626
> You should have the
2727
> [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) dependency
2828
> installed from when you first set up Coder; if not, please sure to install it
29-
> before proceeding.
29+
> before proceeding. If you are using Docker, follow
30+
> [these instructions](../../setup/docker#admin-password) instead.
3031
3132
To reset the password, run the following in the terminal:
3233

guides/troubleshooting/admin-pwd.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ title: Admin password reset
33
description: Learn how to resolve issues with resetting your admin password.
44
---
55

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

910
```console
1011
error: unable to upgrade connection: error dialing backend: remote error: tls:

setup/docker.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ For example:
9191
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
9292
```
9393

94+
## Admin password
95+
96+
If you want to set (or reset) your admin password, use the
97+
`-e SUPER_ADMIN_PASSWORD=<password>` flag with the `docker run` command.
98+
9499
## Scaling
95100

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

0 commit comments

Comments
 (0)