Uniquely identifies 1.docker ps to find out the container
2.docker exec -it ad9b8c3e20f0 / bin / bash Docker container into the operating environment
3. Start administrator user password reset gitlab
root@47:/# gitlab-rails console production Loading production environment (Rails 4.2.10) irb(main):001:0> user=User.where(id:1).first => #<User id:1 @root> irb(main):002:0> user.password='123456' => "123456" irb(main):003:0> user.password_confirmation='123456' => "123456" irb(main):004:0> user.save! Enqueued ActionMailer::DeliveryJob (Job ID: 86227e1d-cc49-44de-9179-e7c20a8b03f6) to Sidekiq(mailers) with arguments: "DeviseMailer", "password_change", "deliver_now", gid://gitlab/User/1 => true irb(main):005:0>
4. At this point, the administrator user name reset is completed, the password reset 123456