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

添加用户

用户授权

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

相关推荐
xmlhcxr4 天前
从 0 到 1 落地企业级 DevOps CI/CD 流水线:基于 GitLab+Jenkins+Harbor 的完整实践
运维·docker·gitlab·jenkins·harbor·devops
高旭的旭4 天前
GitLab Omnibus Docker 内存优化实战:从 4.7 GiB 降到 3.2 GiB
docker·容器·gitlab
牛奶咖啡138 天前
Git实践——GitLab服务器的部署与使用
gitlab·gitlab是什么·gitlab有啥用·gitlab适用场景·gitlab的版本如何选·安装部署gitlab·gitlab的使用
lisanmengmeng9 天前
Gitlab搭建
gitlab
dapeng-大鹏11 天前
记一次 GitLab Let‘s Encrypt 证书申请失败的排查与修复
gitlab
身如柳絮随风扬11 天前
使用 Docker 部署 GitLab 并分配用户账号 —— 保姆级教程
docker·容器·gitlab
鼎道开发者联盟12 天前
鼎享会 | 从手工到自动化:OpenClaw改造GitLab内部协作流程的全过程
自动化·gitlab·openclaw
ℳ₯㎕ddzོꦿ࿐13 天前
告别手工发版:用 GitLab CI/CD 打通前后端自动化部署的“任督二脉”
ci/cd·自动化·gitlab
ℳ₯㎕ddzོꦿ࿐13 天前
实战:在 Linux 系统用 Docker-Compose 优雅部署 GitLab 及防坑指南
linux·docker·gitlab