Docker安装Gitlab

拉取git镜像

docker pull gitlab/gitlab-ce:latest

创建docker container

docker run --publish 20443:443 --publish 2080:80 \ 
           --publish 2022:22 --name gitlab 
           --volume /usr/local/gitlab/config:/etc/gitlab \
           --volume /usr/local/gitlab/logs:/var/log/gitlab \
           --volume /usr/local/gitlab/data:/var/opt \
           gitlab/gitlab-ce

错误信息

Error executing action `run` on resource 'ruby_block[directory resource:]'
Mixlib::ShellOut::ShellCommandFailed

/usr/local/gitlab/data:/var/opt/gitlab

改为:

/usr/local/gitlab/data:/var/opt
上一篇:揭开SAP Fiori编程模型规范里注解的神秘面纱 - @OData.publish工作原理解析


下一篇:中介