Windows Server 2022离线搭建Gitlab

下载GitLab镜像

docker pull gitlab/gitlab-ce

导出为tar文件

docker save -o gitlab-ce-latest.tar gitlab/gitlab-ce:latest

将GitLab镜像文件gitlab-ce.tar复制到目标服务器

加载镜像

docker load -i gitlab-ce.tar

运行容器

docker run--d etach--p ublish 9019 : 80--n ame gitlab--r estart always gitlab/gitlab-ce : latest

登录

http://localhost:9019/users/sign_in

查看密码

docker exec-it gitlab cat/etc/gitlab/initial_root_password

修改密码

创建分组

创建项目

添加SSH 密钥

查看是否有现有的 SSH 密钥对

转到子目录.ssh。如果以前没有使用过,您需要生成一个 SSH 密钥对

ssh-keygen -t rsa

添加用户

用户授权

每一步修改都会出现这个,太难用了,先就这吧

相关推荐
zoipuus3 天前
上传repo仓库到自己的gitlab
linux·gitlab·shell·全志·tina
刘马想放假3 天前
Git 从入门到进阶:一篇吃透版本管理的实战指南
git·gitlab
NexTunnel7 天前
公司老项目还在 SVN,远程维护怎么做更稳?
git·svn·gitlab·远程工作·nextunnel
想你依然心痛8 天前
持续集成在嵌入式开发中的实践:GitLab CI与交叉编译——自动化构建、固件生成
ci/cd·自动化·gitlab
Sean‘9 天前
GitLab 升级后 502:Puma 反复重启问题处理记录
docker·gateway·gitlab
NexTunnel9 天前
告别传统组网,也能安全访问公司 GitLab / SVN
安全·svn·gitlab
霸道流氓气质1 个月前
GitLab CI/CD 完全指南
linux·ci/cd·gitlab
sbjdhjd1 个月前
从零搭建企业级 CI/CD(下):Jenkins+GitLab+Harbor 全链路实战指南
git·servlet·ci/cd·云原生·云计算·gitlab·jenkins
用什么都重名1 个月前
Git 合并两个无共同历史的分支:从报错到解决全记录
git·gitlab
master3361 个月前
GitLab (Docker) 常用命令及解决方案清单
docker·容器·gitlab