Portainer-ce 忘记密码如何重置
首先停用portainer
docker stop "id-portainer-container"
重置密码
docker pull portainer/helper-reset-password
docker run --rm -v portainer_data:/data portainer/helper-reset-password
如果成功,会获得类似信息,密码被重置了:
2020/06/04 00:13:58 Password successfully updated for user: admin
2020/06/04 00:13:58 Use the following password to login: &_4#\3^5V8vLTd)E"NWiJBs26G*9HPl1
重启portainer
docker start "id-portainer-container"
记得修改密码。