狠狠撸
Submit Search
Hello docker
?
1 like
?
433 views
Frank Wang
顿辞肠办别谤基础
Read less
Read more
1 of 31
Download now
Download to read offline
More Related Content
Hello docker
1.
Hello 2015/01/27 Frank
2.
先说结论
3.
部門中使用Docker佈署 Redmine Wiki Jenkins Master 各種環境的 Jenkins
Slave
4.
Docker container and lightweight virtualization
5.
What is docker? Golang Base
on Linux LXC... Lightweight Virtualization
7.
Docker 三劍客 Image Container Repository
8.
Why Docker? 更快速的交付和部署 更有效率的虛擬化 更輕鬆的遷移和擴展 更簡單的管理
9.
How? Namespaces Control groups Union file
systems Container format
10.
Docker Commands docker pull
........ 從倉庫下載image docker push ........ 上傳image docker commit ........ 將container的變更疊上image docker run ...... 創建並運行container docker ps ..... 查看container docker images ..... 查看image docker rm ...... 刪除container docker build .... 由Dockerfile 建立image .........
11.
DIY
12.
Use Virtualbox Download :
https://db.tt/rQMd1z6W Import ovf to virtualbox username: root password: 12345678
13.
小試身手-ubuntu sshd ????????????????????????????????????????? ?????????????????????????????????????????????????????? ???????????????????????????????????????????????????
14.
MoinMoin Wiki ???????????????????????????????? ?????????????????????????????????????????????????????????????????? http://127.0.0.1:8080
15.
Redmine ???????????????????????????????????????????????????????????????????
16.
Redmine + PostgreSQL ??????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????????? Start
PostgreSQL Container Start Redmine Container ??????????????????????????????????????????????????????????????????? ????????????????????????? ?????????????????????????????????????
17.
Redmine + host
volume ??????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????? ???????????????????????????????????????? ??????????????????????????????????????????????????????????????????? ??????????????????????? ?????????????????????????????????????????????????????? ?????????????????????????????????????
18.
Jenkins ??????????????????????????????????????????????? ??????????????????????????????????? ??????????????????????????????????????????????????? ???????????????????????????????????? ?????????????????????????????????????
19.
Jenkins Slave 參上
20.
How ? Master 新增Slave 利用Docker
起動 Slave 並將設定好的Slave ID傳入 使用 JNLP 連線
21.
Start Jenkins Master ??????????????????????????????????????????????????? ??????????????????????????????????????????????????? ???????????????????????????????????? ????????????????????????????????????? 加入
52842 port 給 JNLP 使用
22.
設定 Master JNLP
Port Manage Jenkins-> Configure Global Security-> Enable security-> TCP port for JNLP slave agents Change to Fixed:52842
24.
Add Slave Manage Jenkins-> Manage
Nodes-> New Node-> Dumb Slave->
25.
Remote root directory:
/home/jenkins Launch method : launch slave agent via java web start Tunnel connection through: :52842
27.
新增五个小试身手
28.
Run slave docker
image ?????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ?????????? ???????? ?????
30.
To Be Continued Write
Dockerfile & Build It Use Fig Deploy Docker Container Docker Cluster Management
31.
Q & A
Download