Skip to content

Commit 5f91474

Browse files
committed
2018-02-05 补充 docker 和 jenkins
1 parent 4be4034 commit 5f91474

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Docker-Install-And-Usage.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,17 @@ EXPOSE 9096
589589
- 容器之间是有依赖关系,比如我一个 Java web 系统依赖 DB 容器、Redis 容器,必须这些依赖容器先运行起来。
590590
- 一个文件:docker-compose.yml
591591
- 一个命令:docker-compose up
592+
- 官网安装说明:<https://docs.docker.com/compose/install/#install-compose>
593+
- 安装方法:
592594

595+
```
596+
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
597+
598+
sudo chmod +x /usr/local/bin/docker-compose
599+
600+
```
601+
602+
- 检查是否安装成功:`docker-compose --version`,输出:`docker-compose version 1.18.0, build 8dd22a9`
593603

594604
## Docker Swarm
595605

Jenkins-Install-And-Settings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permiss
7272
- Maven Integration plugin:用于构建 Maven 项目
7373
- Gitlab Hook Plugin:用于触发 GitLab 的一些 WebHooks 来构建项目
7474
- FireLine Plugin:代码规范检查,已经集成了阿里巴巴的代码规约(P3C)检查
75+
- Gitlab Authentication 这个插件提供了使用GitLab进行用户认证和授权的方案
76+
- Docker Commons Plugin
77+
- Docker plugin
78+
- Kubernetes
7579

7680
## Docker 的 Jenkins 与 Docker 结合使用
7781

0 commit comments

Comments
 (0)