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

添加用户

用户授权

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

相关推荐
HIT_Weston8 小时前
47、【Ubuntu】【Gitlab】拉出内网 Web 服务:Nginx 事件驱动分析(一)
前端·ubuntu·gitlab
HIT_Weston19 小时前
49、【Ubuntu】【Gitlab】拉出内网 Web 服务:http.server 单/多线程分析(一)
前端·ubuntu·gitlab
HIT_Weston20 小时前
48、【Ubuntu】【Gitlab】拉出内网 Web 服务:Nginx 事件驱动分析(二)
前端·ubuntu·gitlab
HIT_Weston20 小时前
46、【Ubuntu】【Gitlab】拉出内网 Web 服务:http.server 分析(三)
前端·ubuntu·gitlab
就叫飞六吧21 小时前
docker一键部署gitlab
docker·容器·gitlab
一念一花一世界2 天前
DevOps实战(12) - 使用Arbess+GitLab实现Java项目构建并将制品上传Aliyun OSS
阿里云·ci/cd·gitlab·devops·arbess
自己的九又四分之三站台3 天前
GitLab:定义、起源与发展历史
gitlab
bloglin999993 天前
gitlab内网配置https配置加载异常
网络协议·https·gitlab
TO_ZRG3 天前
Unity PackageManager
unity·gitlab
行走的陀螺仪3 天前
GitLab CI/CD 完整教学指南
前端·ci/cd·gitlab·团队开发·自动化测试部署