Watch the video:
Why?
Everyone forgets things. Maybe it wasn’t saved, or maybe the computer lost it ;)
There are many reasons to do this. Just make sure you have permission to add and run docker containers on the host system, whether it’s a VPS, or your own computer, or something else, and you should be able to get it in no time.
Reset Portainer password
The process is simple and streamlined. All you need are the below commands.
Because you can run them one after the other, I have put them all in one block.
|
|
After running the above commands to take Portainer offline temporarily (Your Docker containers will still run), it will reset the password, likely for the root
user, and return it in the console before starting again.
It will be something long and random, and right above it, you’ll see the username as well, whether it’s root
, admin
, or something else.
Super simple.