Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Docker for Java/Spring developers
Search
SingaSUG
September 09, 2015
Technology
98
0
Share
Docker for Java/Spring developers
SingaSUG
September 09, 2015
More Decks by SingaSUG
See All by SingaSUG
Java/Spring and Node.JS side by side
singasug
0
220
Migrating to microservices (Carlos Queiroz)
singasug
0
240
Docker 101 - Mario Loriedo
singasug
0
300
Cloud Foundry and Docker
singasug
0
230
Multi dimensional scaling with CouchBase
singasug
1
140
NoSql presentation from Clarence Tauro
singasug
2
210
Rx Java introduction
singasug
0
140
Spring Websockets
singasug
0
230
migrating from JSP to AngularJS
singasug
0
2.6k
Other Decks in Technology
See All in Technology
Harnessing the Power of Mocks and Stubs in PHPUnit / #laravellivejp
asumikam
0
720
情シスがMCP環境導入時に打ちのめされる認可の崖
oidfj
0
720
JICUG あなたのAI駆動開発パートナー IBM Bob を使ったアプリ開発
1ftseabass
PRO
0
100
Kiro CLI v2.0.0がやってきた!
kentapapa
0
200
大規模災害時でも高い信頼性を維持するアプリケーション基盤の実現/nikkei-tech-talk46
nikkei_engineer_recruiting
0
110
oracle-to-databricks-migration-with-llm-and-dbt
casek
0
300
データ分析基盤の信頼を支える視点と設計
yuki_saito
2
730
Claude Code x Accounting
kawaguti
PRO
1
330
【ハノーバーメッセ振り返りイベントat名古屋】データは集約からAI起点の収集に ~組織内・組織間でのデータ連携~
tanakaseiya
0
130
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
160
GitHub Copilot CLIでWebアクセシビリティを改善した話
tomokusaba
0
120
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
150
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
300
AI: The stuff that nobody shows you
jnunemaker
PRO
7
660
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.5k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Docker and Python
trallard
47
3.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Color Theory Basics | Prateek | Gurzu
gurzu
0
320
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Un-Boring Meetings
codingconduct
0
300
Writing Fast Ruby
sferik
630
63k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
My Coaching Mixtape
mlcsv
0
130
Transcript
Docker for Java Developers
Agenda Application lifecycle using Docker : • Building • Testing
• Deploying and a personal advertising campaign ;-)
Using Spring petclinic Demo
Building
Building - using language stacks
Building - Using language stacks docker run \ -v ~/.m2:/root/.m2
\ -v $(pwd):/usr/src \ -w /usr/src \ maven:3.2-jdk-7 \ mvn clean install
Building - Using a custom image
Building - Sublime Docker
Building - Demo
Testing
Testing - Using a custom image FROM tomcat:8 COPY ["target/*.war",
"/usr/local/tomcat/webapps/"] CMD ["catalina.sh", "run"] $ docker build -t petclinic . $ docker run -d -P petclinic
doclipser
Testing - Doclipser (Docker from Eclipse)
Deploying
Manual deploy - push to DockerHub $ docker push mariolet/petclinic
Manual deploy - search DockerHub $ docker search mariolet/petclinic
Manual deploy - pull from DockerHub $ docker pull mariolet/petclinic
$ docker run -d -P mariolet/petclinic
Automatic deploy - Image build
Automatic deploy - Webhooks
Deploying - Continuous deployment Dockerfile + Sources docker build ehazlett/conduit
docker pull docker stop docker rm docker start
Merci ! http://domeide.github.io/