<commit_before>---
layout:     post
title:      "容器监控"
subtitle:   " \"容器监控\""
date:       2018-11-14 14:24:00
author:     "gmg"
catalog: true
tags:
    - 工作
---

> “docker study ”

# Jenkins、Gitlab、Docker Hub与Docker的自动化CI/CD实战
## gitlab
### 1、配置yum源
```
vim /etc/yum.repos.d/gitlab-ce.repo
```
复制以下内容：
```
[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
Repo_gpgcheck=0
Enabled=1
Gpgkey=https://packages.gitlab.com/gpg.key
```
### 2、更新本地yum缓存
```
sudo yum makecache
```
### 3、安装GitLab社区版<commit_msg>commit<commit_after>---
layout:     post
title:      "容器监控"
subtitle:   " \"容器监控\""
date:       2018-11-28 14:24:00
author:     "gmg"
catalog: true
tags:
    - 工作
---

> “docker study ”

# Jenkins、Gitlab、Docker Hub与Docker的自动化CI/CD实战
## gitlab
### 1、配置yum源
```
vim /etc/yum.repos.d/gitlab-ce.repo
```
复制以下内容：
```
[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
Repo_gpgcheck=0
Enabled=1
Gpgkey=https://packages.gitlab.com/gpg.key
```
### 2、更新本地yum缓存
```
sudo yum makecache
```
### 3、安装GitLab社区版
{'fraction_non_alphanumeric': 0.19534883720930232, 'fraction_numerical': 0.037209302325581395, 'mean_word_length': 3.658008658008658, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6982954', 'n_tokens_mistral': 571, 'n_tokens_neox': 540, 'n_words': 71}