> ## Content Index
> Fetch the complete content index at: https://lucent.blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# 重置Rancher密码
- URL: https://lucent.blog/chong-zhi-rancher-mi-ma/
- Published: 2021-11-26T02:22:37.000Z
- Updated: 2023-11-14T02:30:14.000Z
- Author: Lucent

Rancher密码忘记了可以通过命令重置：

```shell
docker exec -it <rancher容器id> reset-password

```

执行命令就可以看到重置后的密码了，拿到密码登陆后再修改即可。