SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
[DevDay 2016] (Docker) Container challenges & solutions - Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG
Looking at some of the major challenges you’re facing while using containers in real-world project. How to scale? Where is the database? How to handle state? How to interconnect containers and how to resolve their addresses? This session will give you some of the common pitfalls of using containers and how to overcome those.
———
Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG
Looking at some of the major challenges you’re facing while using containers in real-world project. How to scale? Where is the database? How to handle state? How to interconnect containers and how to resolve their addresses? This session will give you some of the common pitfalls of using containers and how to overcome those.
———
Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG
[DevDay 2016] (Docker) Container challenges & solutions - Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG
1.
WWW.AXONIVY.COM
April 9th, 2016
Daniel Gauch
(DOCKER) CONTAINER CHALLENGES & SOLUTIONS
DEVDAY DA NANG 2016
2.
DOCKER CONTAINERS
WHAT IS DOCKER?
Infrastructure
Host OS
Hypervisor
Guest OS
Bins/Libs
App
Guest OS
Bins/Libs
App
Infrastructure
Host OS
Docker Platform
Bins/Libs
App
Bins/Libs
App
Virtual Machine Container
8.
DOCKER CONTAINERS
HOW TO HANDLE STATE
What is
the
problem?
9.
DOCKER CONTAINERS
HOW TO HANDLE STATE - VARIANT 1
Containerized World
External Database (as a Service)
10.
DOCKER CONTAINERS
HOW TO HANDLE STATE - VARIANT 2
Containerized World
Persistent volume
11.
DOCKER CONTAINERS
HOW TO HANDLE STATE - VARIANT 3
Containerized World
Distributed, masterless database
12.
DOCKER CONTAINERS
DEPLOYMENT PITFALLS
Imagine this:
• Build job creates our application „crm.war“
• Build job starts a container with a WildFly running
• Build job automatically deploys „crm.war“ to WildFly
Is this a truly containerized application?
crm.war
13.
DOCKER CONTAINERS
DEPLOYMENT PITFALLS
Imagine this:
• Build job creates our application „crm.war“
• Build job creates an image with
• WildFly, having „crm.war“ deployed
• PostgreSQL database server, which „crm.war“ uses
• Build job automatically starts a container with that image
Is this a truly containerized application?
14.
https://docs.docker.com/mac/
https://docs.docker.com/linux/
https://docs.docker.com/windows/
DOCKER CONTAINERS
GET STARTED