tgz/blog

通过命令行重置 GitLab 用户密码

tgz opened this issue · 0 comments

tgz commented

http://imqsc.xyz/2018/03/22/reset-gitlab-user-password-through-terminal/

公司内部使用 Docker 部署了 GitLab, 有同事忘记密码,恰好邮件发送服务暂时失效,所以查了下使用命令行重置 GitLab 用户密码的方法,记录如下: 找到 GitLab 的 container: docker ps 9ef8c21caba5 sameersbn/gitlab:10.1.4 进入 GitLab console:docker exec -it 9ef