Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
WWW.AXONIVY.COM
April	9th,	2016
Daniel	Gauch	
(DOCKER)	CONTAINER	CHALLENGES	&	SOLUTIONS
DEVDAY	DA	NANG	2016
DOCKER	CONTAINERS
WHAT	IS	DOCKER?
Infrastructure
Host	OS
Hypervisor
Guest	OS
Bins/Libs
App
Guest	OS
Bins/Libs
App
Infrastr...
DOCKER	CONTAINERS
DOCKER	ARCHITECTURE
https://docs.docker.com/engine/introduction/understanding-docker/
DOCKER	CONTAINERS
COMMON	CHALLENGES
Networking	
&	Scale
State Deployment
DOCKER	CONTAINERS
NETWORKING
Docker	Host	(192.168.99.100)
bridge:	172.17.0.0/16
172.17.0.2 172.17.0.3 172.17.0.4 172.17.0....
DOCKER	CONTAINERS
NETWORKING
Docker	Host	(192.168.99.100)
bridge:	172.17.0.0/16
172.17.0.2 172.17.0.3 172.17.0.2 172.17.0....
DOCKER	CONTAINERS
NETWORKING
Docker	Host	(192.168.99.100)
overlay:	10.0.0.0/8
10.0.0.1 10.0.0.2 10.0.0.3 10.0.0.4
Docker	H...
DOCKER	CONTAINERS
HOW	TO	HANDLE	STATE
What	is	
the	
problem?
DOCKER	CONTAINERS
HOW	TO	HANDLE	STATE	-	VARIANT	1
Containerized	World
External	Database	(as	a	Service)
DOCKER	CONTAINERS
HOW	TO	HANDLE	STATE	-	VARIANT	2
Containerized	World
Persistent	volume
DOCKER	CONTAINERS
HOW	TO	HANDLE	STATE	-	VARIANT	3
Containerized	World
Distributed,	masterless	database
DOCKER	CONTAINERS
DEPLOYMENT	PITFALLS
Imagine	this:	
• Build	job	creates	our	application	„crm.war“	
• Build	job	starts	a	c...
DOCKER	CONTAINERS
DEPLOYMENT	PITFALLS
Imagine	this:	
• Build	job	creates	our	application	„crm.war“	
• Build	job	creates	an...
https://docs.docker.com/mac/	
https://docs.docker.com/linux/	
https://docs.docker.com/windows/
DOCKER	CONTAINERS
GET	START...
 [DevDay 2016] (Docker) Container challenges & solutions - Speaker: Daniel Gauch – Head of Development, Vice President at ...
Upcoming SlideShare
Loading in …5
×

[DevDay 2016] (Docker) Container challenges & solutions - Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG

321 views

Published on

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

Published in: Software
  • Be the first to comment

[DevDay 2016] (Docker) Container challenges & solutions - Speaker: Daniel Gauch – Head of Development, Vice President at AXON IVY AG

  1. 1. WWW.AXONIVY.COM April 9th, 2016 Daniel Gauch (DOCKER) CONTAINER CHALLENGES & SOLUTIONS DEVDAY DA NANG 2016
  2. 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
  3. 3. DOCKER CONTAINERS DOCKER ARCHITECTURE https://docs.docker.com/engine/introduction/understanding-docker/
  4. 4. DOCKER CONTAINERS COMMON CHALLENGES Networking & Scale State Deployment
  5. 5. DOCKER CONTAINERS NETWORKING Docker Host (192.168.99.100) bridge: 172.17.0.0/16 172.17.0.2 172.17.0.3 172.17.0.4 172.17.0.5 172.17.0.6
  6. 6. DOCKER CONTAINERS NETWORKING Docker Host (192.168.99.100) bridge: 172.17.0.0/16 172.17.0.2 172.17.0.3 172.17.0.2 172.17.0.3 Docker Host (192.168.99.101) bridge: 172.17.0.0/16
  7. 7. DOCKER CONTAINERS NETWORKING Docker Host (192.168.99.100) overlay: 10.0.0.0/8 10.0.0.1 10.0.0.2 10.0.0.3 10.0.0.4 Docker Host (192.168.99.101)
  8. 8. DOCKER CONTAINERS HOW TO HANDLE STATE What is the problem?
  9. 9. DOCKER CONTAINERS HOW TO HANDLE STATE - VARIANT 1 Containerized World External Database (as a Service)
  10. 10. DOCKER CONTAINERS HOW TO HANDLE STATE - VARIANT 2 Containerized World Persistent volume
  11. 11. DOCKER CONTAINERS HOW TO HANDLE STATE - VARIANT 3 Containerized World Distributed, masterless database
  12. 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. 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. 14. https://docs.docker.com/mac/ https://docs.docker.com/linux/ https://docs.docker.com/windows/ DOCKER CONTAINERS GET STARTED

×