of how it works • Massively simplifies building micro-services & SOA • Opens up simpler ways of building distributed systems • Also, a ton of innovation is happening in this area • Of course, heaps of fun! 2
r r u n - i t - - n e t = b r i d g e . . . • Sets up d o c k e r 0 and v e t h * • Port mapping d o c k e r r u n - p 8 0 : 8 0 8 0 f o o / a p a c h e . . . • Links d o c k e r r u n - P - - n a m e w e b - - l i n k p g d b : d b . . . • Compose (orchestration) • Pipework 2. Host networking - - n e t = h o s t 3. Mapped Container networking - - n e t = c o n t a i n e r : N A M E _ o r _ I D 3
t w o r k and s e r v i c e become first class objects 2. Create a network: d o c k e r n e t w o r k c r e a t e . . . p r o d 3. Publish a network: d o c k e r s e r v i c e p u b l i s h d b 1 . p r o d 4. Start a container: c i d = $ ( d o c k e r r u n - i t d u b u n t u ) 5. Attach a container: d o c k e r s e r v i c e a t t a c h $ c i d d b 1 . p r o d 6. Networking plugins - Weave, Flocker (volume management) “ 9