Been playing with Docker again this weekend, this time rather than just doing for the sake of doing it I went for something a little more stable.

I started off by creating a new DigitalOcean droplet with the latest CentOS installed to run as a base. I then installed docker using the Docker Puppet Module .

So now I had Docker installed now what? I looked at some PaaS services, a bulk of them require Ubuntu (which I simply don’t do on servers), however Shipyard looked good. It was simple to install;

Deploying a Stable Docker Setup on CentOS with Shipyard 1/3
yyvscduuiehommmrkccki-/ioenyecnrstefticiran/dgulssonltycdasko-hlcecitlorktne-pdfsrt:itcgao/k/rnwedtwrow-cv.ikamoerir/rvrri#uomnr-R/seedenporhlcvaakincecceree..dosotorhcgek/r:s_/iadtroegcssk/=edrl..sfwoeicdtkohrsaohptirhpoeyjrae_rcadtr/.gdoser=pgl/-opHyubts/ceeptp:ue/pl//162/7i.308.60/.e1p:e4l2-4r3el-eHasuen-i6x-:8/./n/ovaarrc/hr.urnp/mdocker.sock

Once installed I added the agent using;

Deploying a Stable Docker Setup on CentOS with Shipyard 2/3
ccsuhhrmilopdyhat+rtxdp-s/a:ug/se/rng/tilto-hcuuarbll./cbhoitmnt//pss:hh/ii/pp<yysaahrriddp/-ysaahgriedpn-ythaorsdt->a:g8e0n0t0/r-erleegaissetse/rdownload/v0.3.1/shipyard-agent-L/usr/local/bin/shipyard-agent

Once the agent has been registered you should have a key, make a note of this because you need to ensure that the agent is always running, to do this I used supervisord ;

Deploying a Stable Docker Setup on CentOS with Shipyard 3/3
yppc[[s[p[s[cSsuiiasruiosepoUumpptuppnrurrmPppceetpvomEeiiieirteegaRrnnnrnv_=rrrnDvssstihvuadUittt/iest1irmPsaaaesrot2sl:=Eollltofrp7o=sRrlllcra._.rhhsd/dcrs0ctihpss]epe.ttpi-ypuu:cr0lpypctippsiv.]:ayhpeeune1/ra/o>rrptr:/dren=vvee]91]dt-1iirr02-cp.ssvf07a/i4ooia1.gsp,rrsc0eu<doe.np1.r_0te.c]f.r5oa1-vnc:uift9rso0lor0ruy1hdpt.gS=tcrUpoaPs:ndEu/feRp/De<UrsPvhEiiRspoyra.rrdp-chionstte>r:f8a0c0e0:m-akkeey_m<asihni_prypacridn-tkeeryf>ace

As I needed to checkout PHP 5.5 & MySQL 5.6 on CentOS using The IUS Community Project for another project I created the a GitHub Repo and then published it as a trusted build on the Docker Index .