30 lines
768 B
Markdown
30 lines
768 B
Markdown
![]() |
* ### 下载帮助镜像portainer/helper-reset-password
|
||
|
|
||
|
```shell
|
||
|
docker pull portainer/helper-reset-password
|
||
|
```
|
||
|
* ### 查看portainer container id
|
||
|
|
||
|
```shell
|
||
|
docker container ls
|
||
|
```
|
||
|
|
||
|

|
||
|
* ### 查看 portainer 的挂载信息
|
||
|
|
||
|
```shell
|
||
|
docker inspect [portainer 容器id]
|
||
|
```
|
||
|
|
||
|

|
||
|
* ### 停止运行的portainer
|
||
|
|
||
|
```shell
|
||
|
docker stop [portainer 容器id]
|
||
|
```
|
||
|
* ### 运行重置命令
|
||
|
|
||
|
```shell
|
||
|
docker run --rm -v [挂载信息] portainer/helper-reset-password
|
||
|
```
|
||
|

|