Portainer Things

Portainer Things

I forgot my Portainer admin password today... I hardly get into the thing, so I had to reset.

Stop the portainer container:

docker stop portainer

Download the password reset tool:

docker pull portainer/helper-reset-password

Run the reset container and record the password from the output

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

Start the portainer container:

docker start portainer

Updating Portainer is something I always forget how to do. Here's the steps:

docker stop portainer

docker rm portainer

docker pull portainer/portainer-ce:latest

docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest