Tips on how to reset your Portainer admin password (+Video Tutorial)


Forgot your Portainer admin password? Learn to use a helpful instrument that can assist you reset it with a tutorial from Jack Wallen.

For those who’ve forgotten your Portainer admin password, you gained’t should redeploy the platform as a result of there’s a helpful instrument that can assist you reset it. The instrument in query comes by means of a Docker container, created by Portainer, for this very activity. Let me present you the way it’s carried out.

The very first thing it’s essential to do is cease the working container. Log into your server, and find the Portainer ID with the command:

docker ps.

You need to see a list for Portainer with an related ID. Cease that container with:

docker cease ID

The place ID is the primary 4 characters of the Portainer ID.

Subsequent, it’s essential to pull the picture designed to reset the password with the command:

docker pull portainer/helper-reset-password

As soon as the picture has pulled, reset the password with the command:

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

After the command completes, you’ll see within the output a brand new password to make use of for the admin login. Copy that password and restart the Portainer container with:

docker begin ID

The place ID is the primary 4 digits of the container ID.

Paste the copied password into the Portainer immediate, and also you’re good to go. You may change the password again to no matter you want by clicking your profile icon | My Account after which resetting it as wanted.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise professionals from Jack Wallen.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles