How to reset your Portainer admin password

preview_player
Показать описание


EDITOR'S NOTE: This content was originally published June 2023 on TechRepublic. This information may be outdated depending on time of viewing.

Commands:

docker ps.
docker stop ID
docker pull portainer/helper-reset-password
docker run --rm -v portainer_data:/data portainer/helper-reset-password
docker start ID

Footage courtesy of TechRepublic.

➤ CHAPTERS
0:00 - Intro
0:21 - Tutorial
1:35 - Watch other videos!

Written by: Jack Wallen
Hosted by: Jack Wallen
Edited by: Miguel Potestades

➤ OUR WEBSITE:

Рекомендации по теме
Комментарии
Автор

Unable to locate /data/portainer.db on disk giving this error

AlihannKuru
Автор

HI. For asustor user the correct final string is:
docker run --rm -v volume1 indicates the volume where docker is installed

rollerine
Автор

worked perfectly, fast and easy, thank u

VincentDryade
Автор

not working for me. Can not reset and cannot add new admin-temp-user/ 2024/09/29 05:49:01 [WARN] Unable to retrieve user with ID 1, will try to create, err: object not found inside the database (bucket=users, key=1) panic: runtime error: invalid memory address or nil pointer dereference

toirtr
Автор

thank you so much you really helped me

rollerine
Автор

One thing you might want to add is to log in in as SU.

fmj_
Автор

I would like to know why my portainer always reset and not stop. Can you give me some suggestion?

MatheusMontenegro
Автор

meu nao parava porque uso swarp resolvi assim
docker stack rm portainer
docker ps
docker pull
docker run --rm -v portainer_data:/data
docker ps
docker stack deploy -c portainer.yml portainer

DonizeteQueiroz