How to Reset Your Portainer Admin Password (Made Easy)

How to Reset Your Portainer Admin Password (Made Easy)

Portainer doesn't let you reset your password from the portal—you need to use a helper container. Here’s how to do it in three simple steps:

1. Stop the Portainer Container

First, pause Portainer by running this command in your terminal

docker container stop portainer

2. Run the Password Reset Helper

Use Portainer’s helper container to reset the admin password:

docker run --rm -v portainer_data:/data portainer/helper-reset-password

You should see a message like:

Password successfully updated for user: admin  
Use the following password to login: <random-new-password>

3. Restart the Portainer Container

Now, bring Portainer back online:

docker container start portainer

That’s it! You’re ready to log in with the new admin password.