- CMD 오픈
- docker pull gitlab/gitlab-ce
- docker run --detach --hostname 127.0.0.1 -p 80:80 -p 2224:22 --name gitlab --restart always -v D:\docker\gitlab\config:/etc/gitlab -v D:\docker\gitlab\logs:/var/log/gitlab -v D:\docker\gitlab\data:/var/opt/gitlab gitlab/gitlab-ce:latest
- http://127.0.0.1/
- root 계정 비번초기화
- docker exec -it container_id /bin/bash
- gitlab-rails console -e production
- user = User.where(id: 1).first
- user.password='변경할비밀번호'
- ser.password_confirmation='변경할비밀번호'
- user.save
- http://127.0.0.1/ root/변경한비밀번호 로그인
Open Source/Gitlab