xxxxxxxxxx
docker stop "id-portainer-container"
docker pull portainer/helper-reset-password
docker run --rm -v portainer_data:/data portainer/helper-reset-password
docker start "id-portainer-container"
xxxxxxxxxx
docker pull portainer/helper-reset-password
docker stop portainer
docker run --rm -v portainer_data:/data portainer/helper-reset-password
docker start portainer
xxxxxxxxxx
container_id=portainer; docker stop ${container_id}; docker run --rm --volumes-from=${container_id} portainer/helper-reset-password; docker start ${container_id}