zoukankan      html  css  js  c++  java
  • docker gitlab

    https://www.aswifter.com/2015/06/14/gitlab-with-docker/ (seperate redis, mysql, backup and restore)

    Docker 官方镜像列表


    部署 GitLab

    获取 GitLab 镜像

    docker pull gitlab/gitlab-ce:8.0.5-ce.0
    

    查看本地镜像

    # docker images 
    REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    gitlab/gitlab-ce    8.0.5-ce.0          bc8948b5d071        5 months ago        1.268 GB
    

    创建目录

    mkdir -p /data/gitlab/{config,data,logs}
    

    创建并运行容器

    docker run --detach 
           --hostname git.taxkiz.com 
           --publish 9080:80 
           --name gitlab-8.0.5 
           --restart always 
           --volume /data/gitlab/config:/etc/gitlab 
           --volume /data/gitlab/logs:/var/log/gitlab 
           --volume /data/gitlab/data:/var/opt/gitlab 
           gitlab/gitlab-ce:8.0.5-ce.0
    

    查看运行状态

    docker ps
    netstat -ntulap | grep docker
    

    访问 GitLab

    初始账户

    用户: root
    密码: 5iveL!fe
    

    首次登陆需要修改密码,这里暂时将密码设置为:

  • 相关阅读:
    Liunx cal
    Liunx read
    IOS
    IOS
    ARPSpoofing教程(四)
    ARPSpoofing教程(三)
    ARPSpoofing教程(二)
    数据结构与算法分析
    hdu 2034
    hdu 2042
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/5433671.html
Copyright © 2011-2022 走看看