<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gitlab on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/gitlab/</link>
    <description>Recent content in Gitlab on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 17 May 2022 13:49:56 +0800</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/gitlab/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Docker部署gitlab(避坑版)</title>
      <link>https://index.zshipu.com/geek/post/gitlab/Docker%E9%83%A8%E7%BD%B2gitlab%E9%81%BF%E5%9D%91%E7%89%88/</link>
      <pubDate>Tue, 17 May 2022 13:49:56 +0800</pubDate>
      <guid>https://index.zshipu.com/geek/post/gitlab/Docker%E9%83%A8%E7%BD%B2gitlab%E9%81%BF%E5%9D%91%E7%89%88/</guid>
      <description>1 下载docker 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # 安装依赖 yum install -y yum-utils device-mapper-persistent-data lvm2 # 设置yum源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # 安装docker yum install -y docker-ce # 设置开机启动 systemctl enable docker # 启动 Docker systemctl start docker # 查看版本 docker version 2 下载gitlab镜像 1 docker pull gitlab/gitlab-ce:latest 3 运行 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 mkdir gitlab gitlab/etc gitlab/log gitlab/opt docker run -id -p 3000:80 -p 9922:22 -v /root/gitlab/etc:/etc/gitlab</description>
    </item>
  </channel>
</rss>
