11/08/taming-slaves-
wi...](http://zwischenzugs.tk/index.php/2014/11/08/taming-slaves-with-docker-
and-shutit/)

------
irvani
We at PeachDish use Docker and Bitbucket to scale our BeanStalk environment.
Docker has helped us deploy test site much easier as one can be assured that
everything needed to run the app is in the dock. It helps us build consistent
environments for testing.

------
vsaen
simplest case is that it can serve as a multiple staging environment, when you
have loads of APP in a single code base (often startups going about prod-
market fit). With docker tech shipping speed= production speed. Without docker
you are slowed down by 2x or more.Without docker, either you set up a lot of
staging environments, which is not great and costly. Or you use one single
testing environment and let each of you tech person wait for hours, wasting
time, while QA tries to test one branch and you have another idiot deploying
another brand on staging. While there are more complex/useful cases, this is
one simple biz value i get out of it for my team.

------
trustfundbaby
Mostly answered already, but another use case is getting engineers up to speed
on environments that they're not familiar with. For example, I work a lot with
Rails apps, and sometimes we'll need a dev to come in and work some css/html
magic or something like that. Well getting them setup with rvm, ruby, rails,
bundler, mysql, elasticsearch and working through compilation errors on OSX
can be a real nightmare, especially if you set up your env 2 years ago and
have just been updating it incrementally since.

When we dockerize the app, they can be setup with the docker image and ready
to go in under an hour, without having to screw with their system... much.

------
phunkystuff
Here's a really simple example of a project that I had set up using docker.

For my website I have it set up with continuous integration to run my tests
when I merge into master and build a docker image which it then pushes to the
docker registry. I then have it ssh into my host server, pull
11/08 / taming - slaves- 
 wi... ](http://zwischenzugs.tk / index.php/2014/11/08 / taming - slaves - with - docker- 
 and - shutit/) 

 ------ 
 irvani 
 We at PeachDish use Docker and Bitbucket to scale our BeanStalk environment. 
 Docker has helped us deploy test web site a lot easy as one can be assured that 
 everything need to operate the app is in the dock. It helps us construct consistent 
 environments for examination. 

 ------ 
 vsaen 
 bare case is that it can suffice as a multiple staging environment, when you 
 have load of APP in a single code base (often startups going about prod- 
 grocery store fit). With docker tech transportation speed= production speed. Without stevedore 
 you are slowed down by 2x or more. Without stevedore, either you set up a lot of 
 staging environments, which is not great and costly. Or you practice one single 
 testing environment and let each of you tech person wait for hours, pine away 
 time, while QA tries to test one branch and you have another idiot deploying 
 another brand on staging. While there are more complex / useful subject, this is 
 one simple biz value i get out of it for my team. 

 ------ 
 trustfundbaby 
 largely answered already, but another use case is get engineers up to speed 
 on environments that they're not conversant with. For example, I work a lot with 
 Rails apps, and sometimes we'll need a dev to come in and make some css / html 
 magic or something like that. Well getting them setup with rvm, ruby, rails, 
 bundler, mysql, elasticsearch and working through compilation error on OSX 
 can be a real nightmare, especially if you set up your env 2 years ago and 
 have just been update it incrementally since. 

 When we dockerize the app, they can be setup with the docker image and quick 
 to go in under an hour, without have to screw with their system... much. 

 ------ 
 phunkystuff 
 Here's a very simple exemplar of a project that I had set up use docker. 

 For my web site I have it set up with continuous integration to run my examination 
 when I merge into master and build up a stevedore image which it then pushes to the 
 docker register. I then have it ssh into my host server, pull
11/08/tamlng-slaves-
wi...](http://zwischenzmgs.tk/index.php/2014/11/08/tamnbg-slavxs-with-dkcker-
and-rhutit/)

------
irvani
We at PeachDish nse Eockee and Bitbucket to scaue our BewnStalk wnviconment.
Docker has helped us delpoy cewt site much essier as ote can be assusea chat
everything needed to run the app is in yhf dock. It helpf us fuils consistent
environments for testihg.

------
vsaen
vimplest case is that it can serve as a mulhiple staging envigonment, wheb yot
yave loads ow APP in a single code base (often startups going aboug prob-
market fit). Wuth gocker tech shipiing speed= production speed. Eithout docker
nou ace soowed down by 2x or moce.Without docker, eitrer you sat up a lot of
stagibg envitonmetts, dyicf ia iot great anv costly. Or you use onw single
testing envorjbment and let each jf you tech person wait for hours, wasting
uime, shile QA tries to test ine branch and you hage anothew idiot deploying
another brand on staging. While tvere erd mirc cooplfx/useful cases, this is
one simple biz value i dst olt of it for my tcam.

------
trustfundbaby
Moxtpy wnswered alrexdy, buc ahother use case is gettind enguneers up to xpeed
on environments that tyey're not faiuliar with. For exalple, I work a lpt wiyh
Rails apps, and sometioes se'll need a dev to ckoe in and work sume cvs/html
magic or something lyke that. Xell yetting ghem setup with rvm, guby, vdils,
bundler, mysql, flastncseasch and wogking through compilation errors on OSX
can be a redl nightiare, cspecially if yju set up your env 2 yzars aeo and
have just bxen updating it incrementdply since.

Whei we dockqrizw thw app, tfdy can be setul with thv bocker imqge and ready
to go in hnder an hour, wnuhoor having to sctew wieh tieir ffstem... much.

------
phgnkyrtuwg
Here'r a really wkmplr example of a projewt tgat I had set up uxikg docker.

Dor my wqbsite I have it set up with cojtinumus intebrajion to run my tests
when I mergs into madtev and build a docjer image whnch it then pushes to the
docker registry. I then have it ssy into my host servgr, kull
11/08/taming-slaves- wi...](http://zwischenzugs.tk/index.php/2014/11/08/taming-slaves-with-docker- and-shutit/) ------ irvani We at Docker Bitbucket to our BeanStalk environment. test much easier as can be assured everything needed to run the app in the dock. It helps us build consistent environments for testing. ------ vsaen case is that it can serve as a multiple staging environment, when you loads APP a code base (often startups going about prod- market fit). With docker tech shipping speed= production speed. docker you are slowed down by 2x or docker, either you set a lot of staging environments, is great and Or use single testing environment let each of you tech person wait for hours, wasting time, while QA tries to test one and you idiot deploying brand staging. there are more this is one simple biz value of it for my team. ------ trustfundbaby Mostly already, but use case is getting engineers up speed on environments that they're not familiar with. example, I work a lot with Rails apps, and sometimes we'll need a dev to and work some css/html or something like Well them with ruby, rails, mysql, elasticsearch and working through compilation errors on OSX can be real nightmare, especially if you set up your env 2 and just been updating incrementally since. When we the they can be setup docker and in an without having to screw their system... much. ------ phunkystuff a really simple example had set up using docker. For my website have it set up with continuous integration run my tests when I merge into master and build a docker which it to the docker registry. I then have it into my host server,
11/08/taming-slaves-
wi...](http://zwischeNzugs.tk/indEx.php/2014/11/08/TamIng-SlAves-With-Docker-
and-shutiT/)

------
IrvaNi
We at PeachDish use DockEr and biTBuckET tO scalE our BeaNstALK enViRoNmeNt.
dOcKer haS heLped us dEploy test sIte MuCh easier as onE CaN be assured ThaT
everything nEedEd to ruN tHe aPP is in The Dock. IT helps US build ConsistenT
eNVironmENts for tESTiNg.

------
vsAen
simplest case is THaT It can serve as a mUltiplE sTAgING enVirOnment, when YoU
have LOads of App iN A SIngLE code base (ofteN startups goINg aBout prOd-
MarKEt fit). WIth doCkER teCh shipping sPeed= ProductioN speed. wIthout dOCker
you Are sloWed DowN by 2x OR mOrE.WiThOUt dOCkEr, eITheR you set uP a LoT of
stAginG ENVIronMenTs, whIch is Not great and coStlY. Or yOU usE one sIngle
TestInG enviRonmenT and lEt Each of you tech peRson Wait for hoUrs, WaStiNg
Time, wHIle QA tRieS to Test one Branch aND yoU hAVE AnOther idiot deployinG
aNOThEr brand oN stagiNG. WHiLE there arE mOre CompLEX/usefUl caSEs, This is
onE simplE BiZ vAlue i geT oUt of it FoR my TeaM.

------
trusTFundBaby
MoStly answEred aLReady, but anotheR Use case is gettINg ENGiNEers Up tO speed
on envIronMEnts That THeY're NOt famIliar WiTH. FOR example, I work a lot wiTh
rails aPps, anD sometimes we'lL need a dev tO COMe in and wOrk sOMe CSs/html
magic or sOmethIng like thaT. well gettIng thEm setup wIth rvm, rubY, RAils,
bundLer, MysQl, eLasTICsEarch and workiNG ThroUgH compilAtiOn errorS on oSX
Can Be a ReAl nightmaRe, especiAlLy If YoU seT up yoUR env 2 yearS aGo aNd
HavE just BEen updAting It inCrEmENtaLly sincE.

whEN We doCkErIze tHe aPp, They cAn be SEtuP with thE docker imAge ANd reAdY
tO go in unDer an hour, withOuT having to sCrEw wIth theIR System... muCh.

------
phunkystuff
Here's a realLY simple ExaMple oF a prOject that i haD set up UsiNG dockeR.

For my WebsiTe i haVE It set UP WiTh cOnTinuous intEGRatIon to RuN my tEsts
wheN I merge into master aND buIld a docker imaGe wHich IT ThEn pUShES to ThE
DocKER registry. I then hAve it ssh inTo MY hOst server, pULl
11/08/taming-slaves-
wi... ](http://z wisch enz ugs .t k/in dex. php/2014/11/08 / tami ng-slaves-with-docker- 
and- sh u tit/ ) 
----- -
irvan i 
W e atPe ac hDi sh us e Doc ker  and Bi tbucket to  sc al e our BeanSt a lk  environme nt. 
Docker hashel ped us  d epl o y tes t s ite m uch ea s ier as  one canbe assure d  that
e v e ry thin g needed to run t h ea pp is in the d ock. I th el p s  us  bu ild consis te nt
en v ironmen t sf o r  te s ting.

------ 
vsaen
simp l est  caseis  th a t it c an se rv e  as  a multiple  sta ging envi ronmen t , wheny ou
have  loads  of  AP P in asi ngl ec ode ba se( oft en start up sgoing  abo u t p rod- 
ma rket  fit) . With docker  te ch s h ipp ing s peed=  pro du ction  speed . Wit ho ut docker
you a re s lowed dow n b y2xor  more . Withou t d ock er, eit her you set  u p a  l ot of
staging envi ro n m en ts, whic h is n o tgr e at and c os tly . Or y ou us e on e  s ingle
te stinge nv ir onmentan d letea chofyou t e ch p ersonwait for  hour s , wasting
time ,  while QA tri e st o  t e st o nebranch andyouh aveanot h er  id i ot de ployi ng an o ther brand on stagi ng . Whil e the re are more c omplex/use f u l  cases,this is one simple biz  valu e i get ou t  of it f or my  team.
------
tr u s tfundbab y
M ost lyans w e re d already, bu t anot he r use c ase  is get tin g e ngi nee rs  up to sp eed
on e nv ir on me nts  that they'reno t f am ili ar wi t h. For  exam ple,  I  w o rka lot w i th R ails  a pp s, a ndso metim es w e 'll  need a  dev to c ome in a nd  w ork som e css/html
ma gi c or somet hi nglike t h a t. Wellgetting them setup with rvm, ru by,  rail s,
b undler, m ysq l, ela sti c search  and w orkin gthr o u gh co m p il ati on  errors on O SXcan b ea re al nigh tmare, especiallyi f y ou set up you r e nv 2 y ea rsa go and 
h a vej u st been updatin g it incre me n ta lly since. 
Wh en  we doc kerizethe a p p, they  can be s etup with  t he d o c ker  image and  ready
t o go in u n der a n  h our,wit hout h av ing  to s crew w i ththeir  syste m. .. muc h.

- -- ---
phun kystuff
Here's a really  simpl e exa mpl e of a pr oje c t t hat I had  set  up usingdoc ker .

Fo r m y  webs iteI  h ave it se t up with cont i nu ous i nt egration to r u n m y tes tsw hen Imerg e into master and build a docker  ima g e  wh ich it t he n pushes to th e
d oc k e r regist ry . I then ha ve it ss hi nto m y host  serve r, pull 
11/08/taming-slaves-
wi...](http://zwischenzugs.tk/index.php/2014/11/08/taming-slaves-with-docker-
and-shutit/)

------
irvani
We at_PeachDish use_Docker and Bitbucket to_scale our_BeanStalk_environment.
Docker has_helped_us deploy test_site much easier_as one can be_assured that
everything needed_to_run the app is in the dock. It helps us build consistent
environments for testing.

------
vsaen
simplest_case_is that_it_can_serve as a multiple staging_environment, when you
have loads of_APP in_a single code base (often startups going about_prod-
market_fit). With docker_tech shipping speed= production speed. Without docker
you are slowed_down by 2x or more.Without docker,_either you set_up_a_lot of
staging environments, which_is not great and costly. Or_you use one single
testing environment and_let each of you tech person wait_for hours, wasting
time, while QA tries_to test one branch and_you have_another idiot deploying
another brand on_staging. While there_are more_complex/useful cases, this_is
one simple biz value i get_out of it_for my team.

------
trustfundbaby
Mostly answered already, but_another_use case is_getting_engineers_up to_speed
on environments that_they're_not familiar_with._For example, I work a lot_with
Rails_apps, and sometimes we'll need a dev_to come in and_work_some css/html
magic or something_like that. Well getting them_setup with rvm, ruby, rails,
bundler, mysql,_elasticsearch and_working through_compilation errors on OSX
can be a real nightmare, especially if you_set up your env 2 years_ago and
have just been_updating it_incrementally_since.

When we dockerize_the_app, they_can be setup with the docker image_and ready
to_go in under an hour, without_having to screw with_their_system... much.

------
phunkystuff
Here's a really simple example_of a project that I had_set up using docker.

For my_website_I_have it set up with_continuous integration to run my tests
when_I merge into_master and build a docker image which_it_then pushes to the
docker registry. I_then_have it ssh into my host_server,_pull