Reset the admin user's password
Method 1: Resetting the admin password if Portainer runs as a container
docker stop "id-portainer-container"docker pull portainer/helper-reset-password
docker run --rm -v portainer_data:/data portainer/helper-reset-password2020/06/04 00:13:58 Password successfully updated for user: admin
2020/06/04 00:13:58 Use the following password to login: &_4#\3^5V8vLTd)E"NWiJBs26G*9HPl12022/08/10 07:36:33 [WARN] Unable to retrieve user with ID 1, will try to create, err: object not found inside the database
2022/08/10 07:36:33 Admin user admin-u0512b3f0v4dqk7o successfully created
2022/08/10 07:36:33 Use the following password to login: Sr#]YL_6D0k8Pd{pA9^|}F32j5J4I=avdocker start "id-portainer-container"Method 2: Resetting the admin password if Portainer runs as a stack/service
Method 3: Resetting the admin password if Portainer is deployed in a Kubernetes cluster
Was this helpful?