Submit Search
Upload
Docker deploy
•
0 likes
•
398 views
Eric Ahn
Follow
Docker : How to deploy?
Read less
Read more
Internet
Report
Share
Report
Share
1 of 9
Download Now
Download to read offline
Recommended
Docker command
Docker command
Eric Ahn
當專案漸趕,當遷移也不再那麼難 (Ship Your Projects with Docker EcoSystem)
當專案漸趕,當遷移也不再那麼難 (Ship Your Projects with Docker EcoSystem)
Ruoshi Ling
Docker e postgresql
Docker e postgresql
Fernando Ike
Docker remote-api
Docker remote-api
Eric Ahn
Docker 初探,實驗室中的運貨鯨
Docker 初探,實驗室中的運貨鯨
Ruoshi Ling
Drone CI/CD 自動化測試及部署
Drone CI/CD 自動化測試及部署
Bo-Yi Wu
CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015
Brandon Philips
Docker workshop 0507 Taichung
Docker workshop 0507 Taichung
Paul Chao
More Related Content
What's hot
Docker 原理與實作
Docker 原理與實作
kao kuo-tung
App container rkt
App container rkt
Xiaofeng Guo
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
謝 宗穎
手把手帶你學Docker 03042017
手把手帶你學Docker 03042017
Paul Chao
Docker 101 - from 0 to Docker in 30 minutes
Docker 101 - from 0 to Docker in 30 minutes
Luciano Fiandesio
Docker / Ansible
Docker / Ansible
Stephane Manciot
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
Giovanni Toraldo
Conan a C/C++ Package Manager
Conan a C/C++ Package Manager
Uilian Ries
From zero to Docker
From zero to Docker
Giovanni Toraldo
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Roman Rodomansky
Dockerizing a Symfony2 application
Dockerizing a Symfony2 application
Roman Rodomansky
Introduction to Project atomic (CentOS Dojo Bangalore)
Introduction to Project atomic (CentOS Dojo Bangalore)
Lalatendu Mohanty
Meetup C++ Floripa - Conan.io
Meetup C++ Floripa - Conan.io
Uilian Ries
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014
D
CoreOS in a Nutshell
CoreOS in a Nutshell
CoreOS
BitTorrent on iOS
BitTorrent on iOS
CocoaHeads France
Start tracking your ruby infrastructure
Start tracking your ruby infrastructure
Sergiy Kukunin
Docker practice
Docker practice
wonyong hwang
Install openstack
Install openstack
어형 이
What's hot
(20)
Docker 原理與實作
Docker 原理與實作
App container rkt
App container rkt
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
手把手帶你學Docker 03042017
手把手帶你學Docker 03042017
Docker 101 - from 0 to Docker in 30 minutes
Docker 101 - from 0 to Docker in 30 minutes
Docker / Ansible
Docker / Ansible
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
Conan a C/C++ Package Manager
Conan a C/C++ Package Manager
From zero to Docker
From zero to Docker
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Dockerizing a Symfony2 application
Dockerizing a Symfony2 application
Introduction to Project atomic (CentOS Dojo Bangalore)
Introduction to Project atomic (CentOS Dojo Bangalore)
Meetup C++ Floripa - Conan.io
Meetup C++ Floripa - Conan.io
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014
CoreOS in a Nutshell
CoreOS in a Nutshell
BitTorrent on iOS
BitTorrent on iOS
Start tracking your ruby infrastructure
Start tracking your ruby infrastructure
Docker practice
Docker practice
Install openstack
Install openstack
Viewers also liked
Http capturing
Http capturing
Eric Ahn
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
Eric Ahn
High perforance-browse-networking-2015-bwahn
High perforance-browse-networking-2015-bwahn
Eric Ahn
Cdn gslb-20151209
Cdn gslb-20151209
Eric Ahn
Keep it simple web development stack
Keep it simple web development stack
Eric Ahn
Spring rest-doc-2015-11
Spring rest-doc-2015-11
Eric Ahn
(micro)services avec Symfony et Tolerance
(micro)services avec Symfony et Tolerance
Samuel ROZE
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
Jeongkyu Shin
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
Eric Ahn
Scaling php applications with redis
Scaling php applications with redis
jimbojsb
Tensorflow in Docker
Tensorflow in Docker
Eric Ahn
[코세나, kosena] 빅데이터 구축 및 제안 가이드
[코세나, kosena] 빅데이터 구축 및 제안 가이드
kosena
Swift server-side-let swift2016
Swift server-side-let swift2016
Eric Ahn
RestMQ - HTTP/Redis based Message Queue
RestMQ - HTTP/Redis based Message Queue
Gleicon Moraes
Magento scalability from the trenches (Meet Magento Sweden 2016)
Magento scalability from the trenches (Meet Magento Sweden 2016)
Divante
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
Robert Reiz
Viewers also liked
(16)
Http capturing
Http capturing
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
High perforance-browse-networking-2015-bwahn
High perforance-browse-networking-2015-bwahn
Cdn gslb-20151209
Cdn gslb-20151209
Keep it simple web development stack
Keep it simple web development stack
Spring rest-doc-2015-11
Spring rest-doc-2015-11
(micro)services avec Symfony et Tolerance
(micro)services avec Symfony et Tolerance
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
Scaling php applications with redis
Scaling php applications with redis
Tensorflow in Docker
Tensorflow in Docker
[코세나, kosena] 빅데이터 구축 및 제안 가이드
[코세나, kosena] 빅데이터 구축 및 제안 가이드
Swift server-side-let swift2016
Swift server-side-let swift2016
RestMQ - HTTP/Redis based Message Queue
RestMQ - HTTP/Redis based Message Queue
Magento scalability from the trenches (Meet Magento Sweden 2016)
Magento scalability from the trenches (Meet Magento Sweden 2016)
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
Similar to Docker deploy
EC2
EC2
Igor Kapkov
Deploying Docker (Provisioning /w Docker + Chef/Puppet) - DevopsDaysPGH
Deploying Docker (Provisioning /w Docker + Chef/Puppet) - DevopsDaysPGH
Erica Windisch
Writing robust Node.js applications
Writing robust Node.js applications
Tom Croucher
Puppet and the HashiStack
Puppet and the HashiStack
Bram Vogelaar
Nodejs in Production
Nodejs in Production
William Bruno Moraes
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Carlos Sanchez
Docker in Action
Docker in Action
Simon Su
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
Lindsay Holmwood
soft-shake.ch - Hands on Node.js
soft-shake.ch - Hands on Node.js
soft-shake.ch
Harmonious Development: Via Vagrant and Puppet
Harmonious Development: Via Vagrant and Puppet
Achieve Internet
Very Early Review - Rocket(CoreOS)
Very Early Review - Rocket(CoreOS)
충섭 김
Node.js - async for the rest of us.
Node.js - async for the rest of us.
Mike Brevoort
Control your deployments with Capistrano
Control your deployments with Capistrano
Ramazan K
How to create your own hack environment
How to create your own hack environment
Sumedt Jitpukdebodin
Test driven infrastructure
Test driven infrastructure
Skills Matter Talks
Railsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshare
tomcopeland
Exploring Async PHP (SF Live Berlin 2019)
Exploring Async PHP (SF Live Berlin 2019)
dantleech
Nodejs Explained with Examples
Nodejs Explained with Examples
Gabriele Lana
Nodejsexplained 101116115055-phpapp02
Nodejsexplained 101116115055-phpapp02
Sunny Gupta
NetDevOps Developer Environments with Vagrant @ SCALE16x
NetDevOps Developer Environments with Vagrant @ SCALE16x
Hank Preston
Similar to Docker deploy
(20)
EC2
EC2
Deploying Docker (Provisioning /w Docker + Chef/Puppet) - DevopsDaysPGH
Deploying Docker (Provisioning /w Docker + Chef/Puppet) - DevopsDaysPGH
Writing robust Node.js applications
Writing robust Node.js applications
Puppet and the HashiStack
Puppet and the HashiStack
Nodejs in Production
Nodejs in Production
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Docker in Action
Docker in Action
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
soft-shake.ch - Hands on Node.js
soft-shake.ch - Hands on Node.js
Harmonious Development: Via Vagrant and Puppet
Harmonious Development: Via Vagrant and Puppet
Very Early Review - Rocket(CoreOS)
Very Early Review - Rocket(CoreOS)
Node.js - async for the rest of us.
Node.js - async for the rest of us.
Control your deployments with Capistrano
Control your deployments with Capistrano
How to create your own hack environment
How to create your own hack environment
Test driven infrastructure
Test driven infrastructure
Railsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshare
Exploring Async PHP (SF Live Berlin 2019)
Exploring Async PHP (SF Live Berlin 2019)
Nodejs Explained with Examples
Nodejs Explained with Examples
Nodejsexplained 101116115055-phpapp02
Nodejsexplained 101116115055-phpapp02
NetDevOps Developer Environments with Vagrant @ SCALE16x
NetDevOps Developer Environments with Vagrant @ SCALE16x
Recently uploaded
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
edrianrheine
Presentation2.pptx - JoyPress Wordpress
Presentation2.pptx - JoyPress Wordpress
ssuser166378
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
lesteraporado16
Bio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptx
naveenithkrishnan
Zero-day Vulnerabilities
Zero-day Vulnerabilities
alihassaah1994
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
Jan Löffler
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Shreedeep Rayamajhi
Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024
Shubham Pant
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
mchristianalwyn
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
APNIC
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Roxana Stingu
Computer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a Website
Mavein
Recently uploaded
(12)
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
Presentation2.pptx - JoyPress Wordpress
Presentation2.pptx - JoyPress Wordpress
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
Bio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptx
Zero-day Vulnerabilities
Zero-day Vulnerabilities
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Computer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a Website
Docker deploy
1.
Docker : deploy Eric
Ahn 2016/06
2.
Sample : Node.js In
Dev PC, $ cd ./sample/app.js var express = require(‘express’) var app = express(); app.get([‘/‘, ‘/index.html’], function(req, res) { res.send(‘Hello Docker’); }); app.listen(80);
3.
Ubuntu Server $ Vagrantfile #
-*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "hashicorp/precise64" config.vm.box_version = “1.1.0" config.vm.host_name = 'git-serveer' config.vm.network "private_network", ip: "192.168.100.10" config.vm.network "forwarded_port", guest: 80, host: 8080 end $ vagrant up
4.
https://docs.docker.com/engine/installation/linux/ubuntulinux/ $ vagrant ssh $
sudo apt-get update $ sudo apt-get install linux-image-generic-lts-trusty $ sudo reboot $ sudo apt-get update $ sudo apt-cache policy docker-engine $ sudo apt-get install docker-engine=1.10.3-0~precise $ sudo service docker start $ sudo docker run -it ubuntu bash
5.
git SSH key-gem git repository DEV
machine docker git git repository Server Test Env.
6.
git SSH key-gem git repository DEV
machine docker git git repository Server ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys 1) Set up “ssh”
7.
git SSH key-gem git repository DEV
machine docker git git repository Server 2) git push 2) git push
8.
git SSH key-gem git repository DEV
machine docker git git repository Server 2) post-receive 2) build with post-receive of git
9.
#!/bin/bash APP_NAME=exampleapp APP_DIR=$HOME/$APP_NAME REVISION=$(expr substr $(git
rev-parse --verify HEAD) 1 7) GIT_WORK_TREE=$APP_DIR git checkout -f cd $APP_DIR sudo docker build --tag $APP_NAME:$REVISION . sudo docker stop $APP_NAME sudo docker rm $APP_NAME sudo docker run -d --name $APP_NAME -p 80:80 $APP_NAME:$REVISION post-receive shell
Download Now