How to reset your Portainer admin password (+Video Tutorial)

0
667
How to reset your Portainer admin password (+Video Tutorial)


Forgot your Portainer admin password? Learn tips on how to use a helpful software that will help you reset it with a tutorial from Jack Wallen.

If you’ve forgotten your Portainer admin password, you gained’t must redeploy the platform as a result of there’s a helpful software that will help you reset it. The software in query comes by means of a Docker container, created by Portainer, for this very job. Let me present you the way it’s finished.

The very first thing you could do is cease the working container. Log into your server, and find the Portainer ID with the command:

docker ps.

You ought to see an inventory for Portainer with an related ID. Stop that container with:

docker cease ID

Where ID is the primary 4 characters of the Portainer ID.

Next, you could pull the picture designed to reset the password with the command:

docker pull portainer/helper-reset-password

Once 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

Where 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 can 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 newest tech recommendation for enterprise professionals from Jack Wallen.

LEAVE A REPLY

Please enter your comment!
Please enter your name here