5. 5
Benefits
5
• L e s s c o m p l e x i t y
• D o c k e r A P I
• E c o s y s t e m
• S c h e d u l i n g
• S t r a t e g i e s
• C o n s t r a i n t s
• F i l t e r s
• R e s c h e d u l i n g
• D N S
6. 6
Docker Swarm
6
• C l u s t e r i s t h e n e w
n o r m a l
• C l u s t e r a w a r e
8. 8
Images
8
• d o c k e r b u i l d
• B u i l d a c u s t o m i m a g e
• R u n a c o n t a i n e r t a k i n g
u p a l i m i t e d r e s o u r c e
• Tw i c e
9. 9
Images
9
• C o n s t r a i n t
• A f f i n i t y
• P u b l i c r e g i s t r y
• P r i v a t e r e g i s t r y
10. 10
Volumes
10
• d o c k e r v o l u m e
• C r e a t e a v o l u m e
• W r i t e s o m e d a t a
• R e a d i t b a c k
11. 11
Volumes
11
• D i s t r i b u t e d f i l e s y s t e m
• S t o r e d a t a o f f - c l u s t e r
• D a t a v o l u m e
c o n t a i n e r s
• B a c k u p a n d r e s t o r e !
12. 12
Networks
12
• R u n a c o n t a i n e r w i t h
p u b l i s h e d p o r t ( s )
• R e f e r t o a n o t h e r
c o n t a i n e r b y n a m e
13. 13
Networks
13
• d o c k e r n e t w o r k
• O v e r l a y n e t w o r k s
• D N S
14. 14
Security
14
• I A N A S E
• S w a r m
• T L S
• O v e r l a y n e t w o r k s
• C o n t a i n e r
• Wa t c h t o w e r
• D o c k e r B e n c h
15. 15
Security
15
• D a e m o n
• A u t h Z p l u g i n
• U p d a t e s
• N o d e
• s e c c o m p
• A p p A r m o r
16. 16
Service Discovery
16
• S e r v i c e r e g i s t r a t i o n
• S e r v i c e d i s c o v e r y
• L o a d b a l a n c i n g
17. 17
Service Discovery
17
• D N S
• I n t e r l o c k
• e t c d + r e g i s t r a t o r +
c o n f d + h a p r o x y / n g i n x
• c o n s u l + r e g i s t r a t o r +
c o n s u l t e m p l a t e +
h a p r o x y / n g i n x
18. 18
Where to Swarm?
18
• d o c k e r - m a c h i n e
• M i c r o s o f t A z u r e
• D o c k e r U C P
• D o c k e r D a t a c e n t e r
• C a r i n a b y R a c k s p a c e
• g e t c a r i n a . c o m
19. 19
Effective Docker Swarm
• 11: 05am|Wednes day |R oo m 16B
Office Hours
• 1:05am|Wednes day |O’Reilly Booth
Think outside the container
• 2:40am |Wednes day | Roo m 16B
Rackspace Booth
• Wednes day & Thurs day |Ex po Hall
20. 20
Thank You!
@ e v e r e t t _ t o e w s
D e v e l o p e r A d v o c a t e @ R a c k s p a c e