<commit_before>## 配置zsh
- [linux设置on-my-zsh](https://blog.csdn.net/gatieme/article/details/52741221)
    ````
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ````

## 安装docker
- [linux下安装docker](https://www.linuxidc.com/Linux/2018-08/153632.htm)
    ````
    # 安装依赖包
    yum install -y yum-utils device-mapper-persistent-data lvm2
    # 添加Docker软件包源
    yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    # 安装Docker CE
    yum install docker-ce -y
    # 启动
    systemctl start docker
    # 开机启动
    systemctl enable docker
    # 查看Docker信息
    docker info

    # 配置加速器 ===== start ======
    curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://bc437cce.m.daocloud.io docker version >= 1.12
    # 重启docker
    systemctl restart docker
    # 关闭docker
    systemctl stop docker
    # 查看docker服务
    ps -ef|grep docker
    # 启动docker
    systemctl  start docker
    # 查看docker服务是否启动
    ps -ef|grep docker
    ````

### 参考来源:
    - [Linux下Docker配置](https://www.linuxidc.com/Linux/2018-08/153632.htm)
<commit_msg>doc update<commit_after>## 配置zsh
- [linux设置on-my-zsh](https://blog.csdn.net/gatieme/article/details/52741221)

    ````
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    ````

## 安装docker
- [linux下安装docker](https://www.linuxidc.com/Linux/2018-08/153632.htm)

    ````
    # 安装依赖包
    yum install -y yum-utils device-mapper-persistent-data lvm2
    # 添加Docker软件包源
    yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    # 安装Docker CE
    yum install docker-ce -y
    # 启动
    systemctl start docker
    # 开机启动
    systemctl enable docker
    # 查看Docker信息
    docker info

    # 配置加速器 ===== start ======
    curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://bc437cce.m.daocloud.io docker version >= 1.12
    # 重启docker
    systemctl restart docker
    # 关闭docker
    systemctl stop docker
    # 查看docker服务
    ps -ef|grep docker
    # 启动docker
    systemctl  start docker
    # 查看docker服务是否启动
    ps -ef|grep docker
    ````
- [docker started](https://docs.docker.com/v17.09/get-started/)

## [安装compose](https://docs.docker.com/compose/install/)

- [compose版本号查看地址](https://github.com/docker/compose/releases)

````
# 下载安装
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# 赋权限
sudo chmod +x /usr/local/bin/docker-compose
# 查看版本号
docker-compose --version
````
- [docker compose started](https://docs.docker.com/compose/gettingstarted/)

### 参考来源:
- [Linux下Docker配置](https://www.linuxidc.com/Linux/2018-08/153632.htm)
- [docker入门](http://www.ruanyifeng.com/blog/2018/02/docker-tutorial.html)
- [docker微服务教程](http://www.ruanyifeng.com/blog/2018/02/docker-wordpress-tutorial.html)
- [systemd常用教程](http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html)
- [docker教程](https://yeasy.gitbooks.io/)

{'fraction_non_alphanumeric': 0.16082541762201114, 'fraction_numerical': 0.03406485424172945, 'mean_word_length': 3.050397877984085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 18, 'lorem ipsum': 0, 'www.': 7, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '395414', 'n_tokens_mistral': 1403, 'n_tokens_neox': 1293, 'n_words': 171}