ago... n a m e s p a c e s isolation c g r o u p s resource control l i b c o n t a i n e r Docker container format U n i o n F S fast copy-on-write filesystem
~Dante Alighieri, 1321AD You need boot2docker VM Use OSX or Windows installer Try without host volumes first Be ready for trouble! http://files.t3dd15.typo3.org/
host OS. Data volumes / v a r / l i b / d o c k e r / v o l u m e s / f e 0 4 a 9 4 d f a a d 3 d 9 e f a 9 9 c 8 1 b d 7 9 a 4 2 b 3 8 3 b 5 5 1 7 1 . . .
: i m a g e : b u s y b o x : l a t e s t c o m m a n d : e c h o d b d a t a v o l u m e s : / v a r / l i b / m y s q l w e b d a t a : i m a g e : b u s y b o x : l a t e s t c o m m a n d : e c h o w e b d a t a v o l u m e s : d a t a : / d a t a
g e : m i l l i o n 1 2 / m a r i a d b : l a t e s t p o r t s : 3 3 0 6 v o l u m e s _ f r o m : d b d a t a e n v i r o n m e n t : M A R I A D B _ P A S S : p a s s r e s t a r t : a l w a y s
i m a g e : m i l l i o n 1 2 / t y p o 3 n e o s p o r t s : ' 8 0 ' l i n k s : d b : d b v o l u m e s _ f r o m : w e b d a t a e n v i r o n m e n t : V I R T U A L _ H O S T : ' n e o s m . d e v , d e v . n e o s m . d e v ' T 3 A P P _ N A M E : ' n e o s m . d e v ' T 3 A P P _ N E O S _ S I T E _ P A C K A G E : ' T Y P O 3 . N e o s D e m o T y p o 3 O r g ' r e s t a r t : a l w a y s
e : m i l l i o n 1 2 / p h p a p p s s h p o r t s : ' 2 2 ' l i n k s : d b : d b w e b : w e b v o l u m e s _ f r o m : w e b d a t a d b d a t a e n v i r o n m e n t : I M P O R T _ G I T H U B _ P U B _ K E Y S : d i m a i p r e s t a r t : a l w a y s
2. Image is automatically rebuilt on Docker Hub 3. Pull new image, run it in parallel with the old one, test 4. Redirect traffic to new container, stop the old one 5. Rollback if things go wrong Great for big infrastructure changes, but slow for code-only deploys
master branch on Github 2. CI tool of choice tests the build 3. Surf deploys code changes via SSH container And for big ones do full container re-deploy