狠狠撸

狠狠撸Share a Scribd company logo
從軟體開發角度?談 Docker 的應用
從軟體開發?角度 
談 Docker 的应?用
about me 
? JAVA: 6 years 
? JS: 1 year 
? blog 
? linkedin 
? github 
? twitter
版本控制 
對開發?人員本?身來說
why need version control 
? 溝通 
? 合作 
? 可讀性 
? 回朔 
? 版本切換 
? 版本發佈 
? 同步
從軟體開發角度?談 Docker 的應用
source version control
database version control
Environment version control
溝通 
跟開發?人員合作
開發者與開發者之間 
? Spec. 規格實例化 
? 規格的釐清 
? 確認需求 
? 前後端整合 
? 第三?方 API 串接
開發者與資料庫管理者 
? ORM Model 
? schema 
? 資料庫效能調教 
? 資料庫正規化 
? 報表製作
开发者与维运?人员
DevOps 
開發?人員維運?人員
? 系統環境規格 
? deploy 的?方式 
? production 環境建置 
? development 環境建置 
? 環境異常釐清
开发者维运?人员
Docker 
Build Ship Run Anything 
JAVA 
Write once, run anywhere
why use docker?
atomic 
find more services : https://registry.hub.docker.com/
same environment 
development production 
OSX UBUNTU 
developer A developer B
switch version
switch environment mode
想要同時擁有 
开发者维运?人员
docker hub
use Dockerfile
reusable 
sails framework 
ruby and nodejs 
ubuntu 14.04 
loopback 
ruby and nodejs 
ubuntu 14.04
extendable 
FROM smlsunxie/rudy-node:latest sails framework 
… 
ruby and nodejs 
ubuntu 14.04
readable 
FROM smlsunxie/rudy-node:latest sails framework 
RUN gem install compass 
RUN gem install bootstrap-sass 
RUN npm install -g grunt-cli 
RUN npm install -g bower 
RUN npm install -g coffee-script 
RUN npm install -g sails 
ruby and nodejs 
ubuntu 14.04
Build Ship Run Anything
all about docker 
push
我想要 
清楚好?用?又快速的...
使?用 docker 搭配 fig 簡化設定
simple 
? docker pull mysql:latest 
? docker run  
-p 3306:3306  
-v /data/mysql:/var/lib/mysql  
-e MYSQL_ROOT_PASSWORD=root  
mysql 
docker 
fig
easy
clear
dynamic 
? fig env document 
? 查詢所有環境變數:fig run SERVICE_NAME env
convenience 
Redis 
Mysql 
2.8 
5.7
one command start all services 
mysql redis 
myapp 
MQ server 
fig up myapp
Mobius CMS 
docker hackathon
plugin base framework
base on TDD
https://github.com/smlsunxie/mobius-cms
CMS 
modules 
concept 
plugin A 
plugin B
從軟體開發角度?談 Docker 的應用
plugin indepand 
CMS 
modules 
run plugin
從軟體開發角度?談 Docker 的應用
結論 
? 環境更統?一 
? 建置過程明確 
? 開發?人員與維運?人員可利?用 dockerfile 進?行溝通 
? 除了部署之外,docker 還有很多應?用 
? 再 fig 的幫助下,可以更有條理的使?用 docker
從軟體開發角度?談 Docker 的應用
從軟體開發角度?談 Docker 的應用
Ad

Recommended

手把手帶你學Docker 03042017
手把手帶你學Docker 03042017
Paul Chao
?
Docker 基礎介紹與實戰
Docker 基礎介紹與實戰
Bo-Yi Wu
?
???? ?? ( Container Technology ) ?? ?? ????
???? ?? ( Container Technology ) ?? ?? ????
Opennaru, inc.
?
Docker Compose by Aanand Prasad
Docker Compose by Aanand Prasad
Docker, Inc.
?
Consul
Consul
Ariel Moskovich
?
Node js for beginners
Node js for beginners
Arjun Sreekumar
?
Introduction to container based virtualization with docker
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
?
Docker, LinuX Container
Docker, LinuX Container
Araf Karsh Hamid
?
Docker in real life
Docker in real life
Nguyen Van Vuong
?
Containerd + buildkit breakout
Containerd + buildkit breakout
Docker, Inc.
?
???????????? Trove ??????????
???????????? Trove ??????????
Won-Chon Jung
?
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker, Inc.
?
Introduction to Docker
Introduction to Docker
Aditya Konarde
?
Introduction to Docker Compose
Introduction to Docker Compose
Ajeet Singh Raina
?
Ingénieur FullStack Java/Angular
Maroua Haddad
?
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
Edureka!
?
???? ?? ?? ???
???? ?? ?? ???
GeunCheolYeom
?
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Edureka!
?
Docker compose
Docker compose
Felipe Ruhland
?
Advanced task management with Celery
Advanced task management with Celery
Mahendra M
?
? ?????? systemd? cgroup? ????? ???
? ?????? systemd? cgroup? ????? ???
Jo Hoon
?
[???????]????????7 ?????? - ???
[???????]????????7 ?????? - ???
Ji-Woong Choi
?
Introduction to docker
Introduction to docker
Wei-Ting Kuo
?
Docker
Docker
SangtongPeesing
?
Red Hat OpenStack 17 ????+?????_3??
Red Hat OpenStack 17 ????+?????_3??
Nalee Jang
?
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Kohei Tokunaga
?
How to write a Dockerfile
How to write a Dockerfile
Knoldus Inc.
?
LUA? ??? ???? ??? ??? (Ray. Lee)
LUA? ??? ???? ??? ??? (Ray. Lee)
? (sarc.io)
?
從 C 語言的角度入門 php
從 C 語言的角度入門 php
Dylandy Chang
?
From finance to develop strategy 财务角度下的公司发展风险分析
From finance to develop strategy 财务角度下的公司发展风险分析
JUN ZENG
?

More Related Content

What's hot (20)

Docker in real life
Docker in real life
Nguyen Van Vuong
?
Containerd + buildkit breakout
Containerd + buildkit breakout
Docker, Inc.
?
???????????? Trove ??????????
???????????? Trove ??????????
Won-Chon Jung
?
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker, Inc.
?
Introduction to Docker
Introduction to Docker
Aditya Konarde
?
Introduction to Docker Compose
Introduction to Docker Compose
Ajeet Singh Raina
?
Ingénieur FullStack Java/Angular
Maroua Haddad
?
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
Edureka!
?
???? ?? ?? ???
???? ?? ?? ???
GeunCheolYeom
?
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Edureka!
?
Docker compose
Docker compose
Felipe Ruhland
?
Advanced task management with Celery
Advanced task management with Celery
Mahendra M
?
? ?????? systemd? cgroup? ????? ???
? ?????? systemd? cgroup? ????? ???
Jo Hoon
?
[???????]????????7 ?????? - ???
[???????]????????7 ?????? - ???
Ji-Woong Choi
?
Introduction to docker
Introduction to docker
Wei-Ting Kuo
?
Docker
Docker
SangtongPeesing
?
Red Hat OpenStack 17 ????+?????_3??
Red Hat OpenStack 17 ????+?????_3??
Nalee Jang
?
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Kohei Tokunaga
?
How to write a Dockerfile
How to write a Dockerfile
Knoldus Inc.
?
LUA? ??? ???? ??? ??? (Ray. Lee)
LUA? ??? ???? ??? ??? (Ray. Lee)
? (sarc.io)
?
Containerd + buildkit breakout
Containerd + buildkit breakout
Docker, Inc.
?
???????????? Trove ??????????
???????????? Trove ??????????
Won-Chon Jung
?
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker Birthday #3 - Intro to Docker 狠狠撸s
Docker, Inc.
?
Ingénieur FullStack Java/Angular
Maroua Haddad
?
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
Edureka!
?
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Edureka!
?
Advanced task management with Celery
Advanced task management with Celery
Mahendra M
?
? ?????? systemd? cgroup? ????? ???
? ?????? systemd? cgroup? ????? ???
Jo Hoon
?
[???????]????????7 ?????? - ???
[???????]????????7 ?????? - ???
Ji-Woong Choi
?
Introduction to docker
Introduction to docker
Wei-Ting Kuo
?
Red Hat OpenStack 17 ????+?????_3??
Red Hat OpenStack 17 ????+?????_3??
Nalee Jang
?
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Faster Container Image Distribution on a Variety of Tools with Lazy Pulling
Kohei Tokunaga
?
How to write a Dockerfile
How to write a Dockerfile
Knoldus Inc.
?
LUA? ??? ???? ??? ??? (Ray. Lee)
LUA? ??? ???? ??? ??? (Ray. Lee)
? (sarc.io)
?

Viewers also liked (20)

從 C 語言的角度入門 php
從 C 語言的角度入門 php
Dylandy Chang
?
From finance to develop strategy 财务角度下的公司发展风险分析
From finance to develop strategy 财务角度下的公司发展风险分析
JUN ZENG
?
從App developer角度來介紹BLE
從App developer角度來介紹BLE
Sam Lee
?
設計角度談Eee PC@2007 UI Gathering
設計角度談Eee PC@2007 UI Gathering
Justin Lee
?
從技術角度看 RWD - Technical Approaches to RWD
從技術角度看 RWD - Technical Approaches to RWD
Chris Wu
?
由点、线至面:从影像分析角度探讨漫画的组成与风格-朱威达
由点、线至面:从影像分析角度探讨漫画的组成与风格-朱威达
台湾资料科学年会
?
蚕惭-065-从管理角度探讨
蚕惭-065-从管理角度探讨
handbook
?
怎麼看電影Day2 筆記整理 230116
怎麼看電影Day2 筆記整理 230116
gaowenwen
?
2016 05 17_如何自企業經營角度,以最小成本、最大戰力,作出國防兵力的調整
2016 05 17_如何自企業經營角度,以最小成本、最大戰力,作出國防兵力的調整
luckypeopleoftaiwan
?
igdshare 110220: 以傳統程式開發者角度切入 Unity3D
igdshare 110220: 以傳統程式開發者角度切入 Unity3D
igdshare
?
我的叠顿顿实践
我的叠顿顿实践
Huang Bruce
?
TechShanghai2016 - 从全局角度实现IC、封装和PCB的协同优化
TechShanghai2016 - 从全局角度实现IC、封装和PCB的协同优化
Hardway Hou
?
LWC18 編目館員看RDA的各種角度 報告人:國立臺灣大學圖書館書目服務組李明錦組長
LWC18 編目館員看RDA的各種角度 報告人:國立臺灣大學圖書館書目服務組李明錦組長
International Federation for information integration
?
2004础厂础笔从社会福利角度看菸害防制
2004础厂础笔从社会福利角度看菸害防制
None
?
浅谈测试笔补谤迟2
浅谈测试笔补谤迟2
Chris Chang
?
功夫微讲堂第四卷
功夫微讲堂第四卷
美棻Nancy 魏Wei
?
邏輯性簡報建構法課程簡介 / 商業簡報網-韓明文講師
邏輯性簡報建構法課程簡介 / 商業簡報網-韓明文講師
明文 韓
?
從open data角度談網站api應用
從open data角度談網站api應用
Yu Shu Huang
?
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
謝 宗穎
?
DevOps 及 TDD 開發流程哲學
DevOps 及 TDD 開發流程哲學
謝 宗穎
?
從 C 語言的角度入門 php
從 C 語言的角度入門 php
Dylandy Chang
?
From finance to develop strategy 财务角度下的公司发展风险分析
From finance to develop strategy 财务角度下的公司发展风险分析
JUN ZENG
?
從App developer角度來介紹BLE
從App developer角度來介紹BLE
Sam Lee
?
設計角度談Eee PC@2007 UI Gathering
設計角度談Eee PC@2007 UI Gathering
Justin Lee
?
從技術角度看 RWD - Technical Approaches to RWD
從技術角度看 RWD - Technical Approaches to RWD
Chris Wu
?
由点、线至面:从影像分析角度探讨漫画的组成与风格-朱威达
由点、线至面:从影像分析角度探讨漫画的组成与风格-朱威达
台湾资料科学年会
?
蚕惭-065-从管理角度探讨
蚕惭-065-从管理角度探讨
handbook
?
怎麼看電影Day2 筆記整理 230116
怎麼看電影Day2 筆記整理 230116
gaowenwen
?
2016 05 17_如何自企業經營角度,以最小成本、最大戰力,作出國防兵力的調整
2016 05 17_如何自企業經營角度,以最小成本、最大戰力,作出國防兵力的調整
luckypeopleoftaiwan
?
igdshare 110220: 以傳統程式開發者角度切入 Unity3D
igdshare 110220: 以傳統程式開發者角度切入 Unity3D
igdshare
?
我的叠顿顿实践
我的叠顿顿实践
Huang Bruce
?
TechShanghai2016 - 从全局角度实现IC、封装和PCB的协同优化
TechShanghai2016 - 从全局角度实现IC、封装和PCB的协同优化
Hardway Hou
?
LWC18 編目館員看RDA的各種角度 報告人:國立臺灣大學圖書館書目服務組李明錦組長
LWC18 編目館員看RDA的各種角度 報告人:國立臺灣大學圖書館書目服務組李明錦組長
International Federation for information integration
?
2004础厂础笔从社会福利角度看菸害防制
2004础厂础笔从社会福利角度看菸害防制
None
?
浅谈测试笔补谤迟2
浅谈测试笔补谤迟2
Chris Chang
?
邏輯性簡報建構法課程簡介 / 商業簡報網-韓明文講師
邏輯性簡報建構法課程簡介 / 商業簡報網-韓明文講師
明文 韓
?
從open data角度談網站api應用
從open data角度談網站api應用
Yu Shu Huang
?
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
謝 宗穎
?
DevOps 及 TDD 開發流程哲學
DevOps 及 TDD 開發流程哲學
謝 宗穎
?
Ad

Similar to 從軟體開發角度?談 Docker 的應用 (20)

docker intro
docker intro
koji lin
?
Docker Build
Docker Build
Miles Chou
?
顿辞肠办别谤应用
顿辞肠办别谤应用
Jui An Huang (黃瑞安)
?
讓軟體開發與應用更自由 - 使用 Docker 技術
讓軟體開發與應用更自由 - 使用 Docker 技術
Yu Lung Shao
?
Docker with Cloud Service
Docker with Cloud Service
Caesar Chi
?
Docker with Cloud Service GCPUG
Docker with Cloud Service GCPUG
Caesar Chi
?
前端工程師一定要知道的 Docker 虛擬化容器技巧
前端工程師一定要知道的 Docker 虛擬化容器技巧
Chu-Siang Lai
?
Docker tutorial
Docker tutorial
azole Lai
?
顿辞肠办别谤基础
顿辞肠办别谤基础
Perry Tsai
?
Docker 101
Docker 101
Bryan Yang
?
Docker容器微服務 x WorkShop
Docker容器微服務 x WorkShop
Philip Zheng
?
Docker
Docker
旭 張
?
桃园市教育局顿辞肠办别谤技术入门与实作
桃园市教育局顿辞肠办别谤技术入门与实作
Philip Zheng
?
20150604 docker 新手入門
20150604 docker 新手入門
azole Lai
?
Docker
Docker
NCUDSC
?
公司导入容器经验分享与开源技能培养
公司导入容器经验分享与开源技能培养
Philip Zheng
?
實現 Angular, Docker 與 Kubernetes 持續部署 (NG+2020)
實現 Angular, Docker 與 Kubernetes 持續部署 (NG+2020)
Will Huang
?
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
Wen-Tien Chang
?
容器與 Gitlab CI 應用
容器與 Gitlab CI 應用
Philip Zheng
?
顿辞肠办别谤实务
顿辞肠办别谤实务
國昭 張
?
讓軟體開發與應用更自由 - 使用 Docker 技術
讓軟體開發與應用更自由 - 使用 Docker 技術
Yu Lung Shao
?
Docker with Cloud Service
Docker with Cloud Service
Caesar Chi
?
Docker with Cloud Service GCPUG
Docker with Cloud Service GCPUG
Caesar Chi
?
前端工程師一定要知道的 Docker 虛擬化容器技巧
前端工程師一定要知道的 Docker 虛擬化容器技巧
Chu-Siang Lai
?
Docker tutorial
Docker tutorial
azole Lai
?
顿辞肠办别谤基础
顿辞肠办别谤基础
Perry Tsai
?
Docker容器微服務 x WorkShop
Docker容器微服務 x WorkShop
Philip Zheng
?
桃园市教育局顿辞肠办别谤技术入门与实作
桃园市教育局顿辞肠办别谤技术入门与实作
Philip Zheng
?
20150604 docker 新手入門
20150604 docker 新手入門
azole Lai
?
公司导入容器经验分享与开源技能培养
公司导入容器经验分享与开源技能培养
Philip Zheng
?
實現 Angular, Docker 與 Kubernetes 持續部署 (NG+2020)
實現 Angular, Docker 與 Kubernetes 持續部署 (NG+2020)
Will Huang
?
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
Wen-Tien Chang
?
容器與 Gitlab CI 應用
容器與 Gitlab CI 應用
Philip Zheng
?
顿辞肠办别谤实务
顿辞肠办别谤实务
國昭 張
?
Ad

More from 謝 宗穎 (7)

為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
謝 宗穎
?
中華電信 教育訓練
中華電信 教育訓練
謝 宗穎
?
JCConf 2015 workshop 動手玩 Java 專案建置工具
JCConf 2015 workshop 動手玩 Java 專案建置工具
謝 宗穎
?
JSDC 2015 - TDD 的開發哲學,以 Node.js 為例
JSDC 2015 - TDD 的開發哲學,以 Node.js 為例
謝 宗穎
?
Scrum 開發流程導入經驗分享
Scrum 開發流程導入經驗分享
謝 宗穎
?
TDD 實戰
TDD 實戰
謝 宗穎
?
Sails.js Model / ORM introduce
Sails.js Model / ORM introduce
謝 宗穎
?
為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
謝 宗穎
?
中華電信 教育訓練
中華電信 教育訓練
謝 宗穎
?
JCConf 2015 workshop 動手玩 Java 專案建置工具
JCConf 2015 workshop 動手玩 Java 專案建置工具
謝 宗穎
?
JSDC 2015 - TDD 的開發哲學,以 Node.js 為例
JSDC 2015 - TDD 的開發哲學,以 Node.js 為例
謝 宗穎
?
Scrum 開發流程導入經驗分享
Scrum 開發流程導入經驗分享
謝 宗穎
?
Sails.js Model / ORM introduce
Sails.js Model / ORM introduce
謝 宗穎
?

從軟體開發角度?談 Docker 的應用