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
0
88
Docker for Java/Spring developers
SingaSUG
September 09, 2015
Tweet
Share
More Decks by SingaSUG
See All by SingaSUG
Java/Spring and Node.JS side by side
singasug
0
200
Migrating to microservices (Carlos Queiroz)
singasug
0
230
Docker 101 - Mario Loriedo
singasug
0
270
Cloud Foundry and Docker
singasug
0
210
Multi dimensional scaling with CouchBase
singasug
1
130
NoSql presentation from Clarence Tauro
singasug
2
190
Rx Java introduction
singasug
0
120
Spring Websockets
singasug
0
210
migrating from JSP to AngularJS
singasug
0
2.6k
Other Decks in Technology
See All in Technology
【northernforce#54】SalesforceにおけるAgentforceの位置づけ・事例紹介
yutosatou_kit
0
110
かわいい身体と声を持つ そういうものに私はなりたい
yoshimura_datam
0
260
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
64k
人はいかにして 確率的な挙動を 受け入れていくのか
vaaaaanquish
1
680
AI時代のPMに求められるのは 「Ops」と「Enablement」
shimotaroo
1
220
それぞれのペースでやっていく Bet AI / Bet AI at Your Own Pace
yuyatakeyama
1
400
ファシリテーション勉強中 その場に何が求められるかを考えるようになるまで / 20260123 Naoki Takahashi
shift_evolve
PRO
0
160
AWS Amplify Conference 2026 - 仕様からリリースまで一気通貫生成 AI 時代のフルスタック開発
inariku
2
330
Eight Engineering Unit 紹介資料
sansan33
PRO
0
6.3k
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
0
450
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
ビジュアルプログラミングIoTLT vol.22
1ftseabass
PRO
0
110
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
740
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
92
Accessibility Awareness
sabderemane
0
38
Become a Pro
speakerdeck
PRO
31
5.8k
Practical Orchestrator
shlominoach
191
11k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
How STYLIGHT went responsive
nonsquared
100
6k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
68
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
59
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Designing Experiences People Love
moore
143
24k
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/