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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
SingaSUG
September 09, 2015
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
230
Migrating to microservices (Carlos Queiroz)
singasug
0
250
Docker 101 - Mario Loriedo
singasug
0
300
Cloud Foundry and Docker
singasug
0
240
Multi dimensional scaling with CouchBase
singasug
1
150
NoSql presentation from Clarence Tauro
singasug
2
210
Rx Java introduction
singasug
0
140
Spring Websockets
singasug
0
240
migrating from JSP to AngularJS
singasug
0
2.7k
Other Decks in Technology
See All in Technology
AWS Blocks を触ってみた/first-tach-aws-blocks
fossamagna
2
150
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
CIで使うClaude
iwatatomoya
0
170
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
0
2.6k
Agentic AI 時代のテスト手法: Kiro とはじめるプロパティベーステスト (AWS Summit Japan 2026 | DEV212)
ymhiroki
0
220
Zoom2Youtube.Claude
kawaguti
PRO
2
460
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
3k
product engineering with qa
nealle
0
150
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
670
cccccc
moznion
0
1.8k
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
1
520
勉強会企画をアプリで構造化してみた 〜そこで見えた、AIとの付き合い方〜 / I've structured a study group plan using an app.
pauli
0
330
Featured
See All Featured
New Earth Scene 8
popppiees
3
2.4k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Google's AI Overviews - The New Search
badams
0
1.1k
Six Lessons from altMBA
skipperchong
29
4.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
450
A designer walks into a library…
pauljervisheath
211
24k
Building Applications with DynamoDB
mza
96
7.1k
Done Done
chrislema
186
16k
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/