Suche senden
Hochladen
Docker in Action
•
0 gefällt mir
•
287 views
Simon Su
Folgen
30分鐘學Docker... 希望對大家有幫助...
Weniger lesen
Mehr lesen
Technologie
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 30
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
GCPUG meetup 201610 - Dataflow Introduction
GCPUG meetup 201610 - Dataflow Introduction
Simon Su
JCConf 2016 - Google Dataflow 小試
JCConf 2016 - Google Dataflow 小試
Simon Su
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
Simon Su
Google Cloud Computing compares GCE, GAE and GKE
Google Cloud Computing compares GCE, GAE and GKE
Simon Su
使用 Raspberry pi + fluentd + gcp cloud logging, big query 做iot 資料搜集與分析
使用 Raspberry pi + fluentd + gcp cloud logging, big query 做iot 資料搜集與分析
Simon Su
Infrastructure as Code in Google Cloud
Infrastructure as Code in Google Cloud
Radek Simko
GCPUG.TW - GCP學習資源分享
GCPUG.TW - GCP學習資源分享
Simon Su
Terraforming the Kubernetes Land
Terraforming the Kubernetes Land
Radek Simko
Empfohlen
GCPUG meetup 201610 - Dataflow Introduction
GCPUG meetup 201610 - Dataflow Introduction
Simon Su
JCConf 2016 - Google Dataflow 小試
JCConf 2016 - Google Dataflow 小試
Simon Su
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
Simon Su
Google Cloud Computing compares GCE, GAE and GKE
Google Cloud Computing compares GCE, GAE and GKE
Simon Su
使用 Raspberry pi + fluentd + gcp cloud logging, big query 做iot 資料搜集與分析
使用 Raspberry pi + fluentd + gcp cloud logging, big query 做iot 資料搜集與分析
Simon Su
Infrastructure as Code in Google Cloud
Infrastructure as Code in Google Cloud
Radek Simko
GCPUG.TW - GCP學習資源分享
GCPUG.TW - GCP學習資源分享
Simon Su
Terraforming the Kubernetes Land
Terraforming the Kubernetes Land
Radek Simko
From airflow to google cloud composer
From airflow to google cloud composer
Bruce Kuo
Micro services infrastructure with AWS and Ansible
Micro services infrastructure with AWS and Ansible
Bamdad Dashtban
JCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop Labs
Simon Su
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouse
Altinity Ltd
Terraform and cloud.ca
Terraform and cloud.ca
CloudOps2005
Ansible with AWS
Ansible with AWS
Allan Denot
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Heroku
Google Cloud Platform Special Training
Google Cloud Platform Special Training
Simon Su
Altitude SF 2017: Nomad and next-gen application architectures
Altitude SF 2017: Nomad and next-gen application architectures
Fastly
Scripting Embulk Plugins
Scripting Embulk Plugins
Sadayuki Furuhashi
Automating Workflows for Analytics Pipelines
Automating Workflows for Analytics Pipelines
Sadayuki Furuhashi
Google Compute Engine Starter Guide
Google Compute Engine Starter Guide
Simon Su
Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理
Sadayuki Furuhashi
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Fastly
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Altinity Ltd
Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)
Radek Simko
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
Fastly
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Altinity Ltd
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Rick Copeland
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Big Data Spain
Google I/O Extended 2016 - 台北場活動回顧
Google I/O Extended 2016 - 台北場活動回顧
Simon Su
Google I/O 2016 Recap - Google Cloud Platform News Update
Google I/O 2016 Recap - Google Cloud Platform News Update
Simon Su
Weitere ähnliche Inhalte
Was ist angesagt?
From airflow to google cloud composer
From airflow to google cloud composer
Bruce Kuo
Micro services infrastructure with AWS and Ansible
Micro services infrastructure with AWS and Ansible
Bamdad Dashtban
JCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop Labs
Simon Su
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouse
Altinity Ltd
Terraform and cloud.ca
Terraform and cloud.ca
CloudOps2005
Ansible with AWS
Ansible with AWS
Allan Denot
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Heroku
Google Cloud Platform Special Training
Google Cloud Platform Special Training
Simon Su
Altitude SF 2017: Nomad and next-gen application architectures
Altitude SF 2017: Nomad and next-gen application architectures
Fastly
Scripting Embulk Plugins
Scripting Embulk Plugins
Sadayuki Furuhashi
Automating Workflows for Analytics Pipelines
Automating Workflows for Analytics Pipelines
Sadayuki Furuhashi
Google Compute Engine Starter Guide
Google Compute Engine Starter Guide
Simon Su
Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理
Sadayuki Furuhashi
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Fastly
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Altinity Ltd
Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)
Radek Simko
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
Fastly
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Altinity Ltd
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Rick Copeland
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Big Data Spain
Was ist angesagt?
(20)
From airflow to google cloud composer
From airflow to google cloud composer
Micro services infrastructure with AWS and Ansible
Micro services infrastructure with AWS and Ansible
JCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop Labs
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouse
Terraform and cloud.ca
Terraform and cloud.ca
Ansible with AWS
Ansible with AWS
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Google Cloud Platform Special Training
Google Cloud Platform Special Training
Altitude SF 2017: Nomad and next-gen application architectures
Altitude SF 2017: Nomad and next-gen application architectures
Scripting Embulk Plugins
Scripting Embulk Plugins
Automating Workflows for Analytics Pipelines
Automating Workflows for Analytics Pipelines
Google Compute Engine Starter Guide
Google Compute Engine Starter Guide
Digdagによる大規模データ処理の自動化とエラー処理
Digdagによる大規模データ処理の自動化とエラー処理
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Data Warehouse on Kubernetes: lessons from Clickhouse Operator
Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Building ClickHouse and Making Your First Contribution: A Tutorial_06.10.2021
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Andere mochten auch
Google I/O Extended 2016 - 台北場活動回顧
Google I/O Extended 2016 - 台北場活動回顧
Simon Su
Google I/O 2016 Recap - Google Cloud Platform News Update
Google I/O 2016 Recap - Google Cloud Platform News Update
Simon Su
Brocade - Stingray Application Firewall
Brocade - Stingray Application Firewall
Simon Su
Google Cloud Platform Introduction - 2016Q3
Google Cloud Platform Introduction - 2016Q3
Simon Su
Try Cloud Spanner
Try Cloud Spanner
Simon Su
GCPNext17' Extend 開始GCP了嗎?
GCPNext17' Extend 開始GCP了嗎?
Simon Su
Husna roll no_6
Husna roll no_6
Islamia university of bahawalpur
Andere mochten auch
(7)
Google I/O Extended 2016 - 台北場活動回顧
Google I/O Extended 2016 - 台北場活動回顧
Google I/O 2016 Recap - Google Cloud Platform News Update
Google I/O 2016 Recap - Google Cloud Platform News Update
Brocade - Stingray Application Firewall
Brocade - Stingray Application Firewall
Google Cloud Platform Introduction - 2016Q3
Google Cloud Platform Introduction - 2016Q3
Try Cloud Spanner
Try Cloud Spanner
GCPNext17' Extend 開始GCP了嗎?
GCPNext17' Extend 開始GCP了嗎?
Husna roll no_6
Husna roll no_6
Ähnlich wie Docker in Action
Running Docker in Development & Production (DevSum 2015)
Running Docker in Development & Production (DevSum 2015)
Ben Hall
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Ben Hall
Docker workshop DevOpsDays Amsterdam 2014
Docker workshop DevOpsDays Amsterdam 2014
Pini Reznik
Docker Introductory workshop
Docker Introductory workshop
Runcy Oommen
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
PROIDEA
桃園市教育局Docker技術入門與實作
桃園市教育局Docker技術入門與實作
Philip Zheng
Infrastructure = code - 1 year later
Infrastructure = code - 1 year later
Christian Ortner
Docker Security workshop slides
Docker Security workshop slides
Docker, Inc.
Docker, Kubernetes, and Google Cloud
Docker, Kubernetes, and Google Cloud
Samuel Chow
Docker, the Future of DevOps
Docker, the Future of DevOps
andersjanmyr
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Develcz
Tribal Nova Docker workshop
Tribal Nova Docker workshop
Nicolas Degardin
Docker & FieldAware
Docker & FieldAware
Jakub Jarosz
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
Puppet
Challenges of container configuration
Challenges of container configuration
lutter
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
Sysdig
Things I've learned working with Docker Support
Things I've learned working with Docker Support
Sujay Pillai
Docker Compose Explained
Docker Compose Explained
Shawn Sorichetti
How to create your own hack environment
How to create your own hack environment
Sumedt Jitpukdebodin
Docker Compose and Panamax - ContainerDays Boston - June 2015
Docker Compose and Panamax - ContainerDays Boston - June 2015
Jonas Rosland
Ähnlich wie Docker in Action
(20)
Running Docker in Development & Production (DevSum 2015)
Running Docker in Development & Production (DevSum 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Docker workshop DevOpsDays Amsterdam 2014
Docker workshop DevOpsDays Amsterdam 2014
Docker Introductory workshop
Docker Introductory workshop
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
桃園市教育局Docker技術入門與實作
桃園市教育局Docker技術入門與實作
Infrastructure = code - 1 year later
Infrastructure = code - 1 year later
Docker Security workshop slides
Docker Security workshop slides
Docker, Kubernetes, and Google Cloud
Docker, Kubernetes, and Google Cloud
Docker, the Future of DevOps
Docker, the Future of DevOps
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Tribal Nova Docker workshop
Tribal Nova Docker workshop
Docker & FieldAware
Docker & FieldAware
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
Challenges of container configuration
Challenges of container configuration
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
Things I've learned working with Docker Support
Things I've learned working with Docker Support
Docker Compose Explained
Docker Compose Explained
How to create your own hack environment
How to create your own hack environment
Docker Compose and Panamax - ContainerDays Boston - June 2015
Docker Compose and Panamax - ContainerDays Boston - June 2015
Mehr von Simon Su
Kubernetes Basic Operation
Kubernetes Basic Operation
Simon Su
Google IoT Core 初體驗
Google IoT Core 初體驗
Simon Su
JSDC 2017 - 使用google cloud 從雲到端,動手刻個IoT
JSDC 2017 - 使用google cloud 從雲到端,動手刻個IoT
Simon Su
GCPUG.TW meetup #28 - GKE上運作您的k8s服務
GCPUG.TW meetup #28 - GKE上運作您的k8s服務
Simon Su
GCE Windows Serial Console Usage Guide
GCE Windows Serial Console Usage Guide
Simon Su
Google Cloud Monitoring
Google Cloud Monitoring
Simon Su
JCConf2016 - Dataflow Workshop Setup
JCConf2016 - Dataflow Workshop Setup
Simon Su
IThome DevOps Summit - IoT、docker與DevOps
IThome DevOps Summit - IoT、docker與DevOps
Simon Su
GCS - Access Control Lists (中文)
GCS - Access Control Lists (中文)
Simon Su
Google Cloud Platform - for Mobile Solutions
Google Cloud Platform - for Mobile Solutions
Simon Su
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
Simon Su
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
Simon Su
GCPUG.TW - 2016活動討論
GCPUG.TW - 2016活動討論
Simon Su
GCPUG.TW - 2015活動回顧
GCPUG.TW - 2015活動回顧
Simon Su
CouchDB Getting Start
CouchDB Getting Start
Simon Su
Google Cloud Platform專案建立說明
Google Cloud Platform專案建立說明
Simon Su
Mehr von Simon Su
(16)
Kubernetes Basic Operation
Kubernetes Basic Operation
Google IoT Core 初體驗
Google IoT Core 初體驗
JSDC 2017 - 使用google cloud 從雲到端,動手刻個IoT
JSDC 2017 - 使用google cloud 從雲到端,動手刻個IoT
GCPUG.TW meetup #28 - GKE上運作您的k8s服務
GCPUG.TW meetup #28 - GKE上運作您的k8s服務
GCE Windows Serial Console Usage Guide
GCE Windows Serial Console Usage Guide
Google Cloud Monitoring
Google Cloud Monitoring
JCConf2016 - Dataflow Workshop Setup
JCConf2016 - Dataflow Workshop Setup
IThome DevOps Summit - IoT、docker與DevOps
IThome DevOps Summit - IoT、docker與DevOps
GCS - Access Control Lists (中文)
GCS - Access Control Lists (中文)
Google Cloud Platform - for Mobile Solutions
Google Cloud Platform - for Mobile Solutions
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(上)
GCPUG.TW - 2016活動討論
GCPUG.TW - 2016活動討論
GCPUG.TW - 2015活動回顧
GCPUG.TW - 2015活動回顧
CouchDB Getting Start
CouchDB Getting Start
Google Cloud Platform專案建立說明
Google Cloud Platform專案建立說明
Kürzlich hochgeladen
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Kürzlich hochgeladen
(20)
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Docker in Action
1.
Docker in Action Simon
Su @ Linker https://goo.gl/q2ng7h
2.
Prepare - start
from a piece of code const http = require('http'); const hostname = '127.0.0.1'; const port = 3000 || process.env.PORT; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader('Content-Type', 'text/plain'); res.end('Hello Worldn'); }); server.listen(port, () => { console.log(`Server running at http://${hostname}:${port}/`); }); Run it... Test it... web.js
3.
docker
4.
See the local
images docker images
5.
Search from Docker
Hub docker search node
6.
docker run ... docker
run -it node bash docker run -d node docker run -d node node web.js
7.
Run process and
mount a folder docker run -v `pwd`/web.js:/web.js -d node node web.js
8.
Expose a port docker
run -it -p 3000:3000 node bash
9.
Give it a
name docker run -d -p 5984:5984 --name db couchdb
10.
Link with another
container docker run -it --link db:db node bash
11.
Attach to running
instance docker attach $id
12.
Attach to running
instance with “exec” docker exec -it $id bash
13.
See your process... docker
ps docker ps -q docker ps -a docker ps -a -q
14.
Stop & Start docker
stop $id docker start $id
15.
Kill container(s) docker rm
$id docker rm -f $id
16.
Kill process more
easy docker rm -f `docker ps -q` docker rm -f `docker ps -a -q`
17.
A complex start
command docker run -d -p 5984:5984 --name db couchdb docker run -d --restart=always -l webserver --name webserver --link db:db -v `pwd`/web.js:/app/web.js -p 80:3000 -e PORT=3000 -w /app node node web.js
18.
FROM node RUN apt-get
update -y && apt-get install curl -y ADD /app /app WORKDIR /app CMD ["node","web.js"] Dockerfile
19.
Build the Dockerfile docker
build -t devops-node .
20.
Run the new
image docker run -d -p 80:3000 devops-node Test it… curl localhost
21.
Push to Docker
Hub docker build -t myname/devops-node . docker push myname/devops-node
22.
Image maintain docker rmi
myname/devops-node
23.
docker-compose
24.
couchdb: restart: always image: couchdb container_name:
couchdb volumes: - /data/couchdb:/usr/local/var/lib/couchdb environment: - COUCHDB_USER=admin - COUCHDB_PASSWORD=12345678 ports: - "5984:5984" webserver: restart: always image: devops-node container_name: webserver environment: - PORT=3000 links: - couchdb:couchdb ports: - "3000:3000" Web Server CouchDB Port: 5984 Port: 3000 docker-compose.yml
25.
Run default compose docker-compose
up docker-compose up -d
26.
Run single instance
in compose file docker-compose up -d couchdb
27.
Check process docker-compose ps docker-compose
-f file.yml ps
28.
Delete compose process docker-compose
down docker-compose -f file.yml down docker-compose down couchdb
29.
Something in advance... ●
Docker swarm ● Kubernetes ● DCOS ● Monitoring
30.
想學Swarm… 可以參考Evan大大的文章 http://www.evanlin.com/til-2016-07-13/
Jetzt herunterladen