SBaronda.com a little place I like to call home.


Getting Docker on Chunkhost

May. 5, 2013

I have an invisioned plan to have my own SaaS for testing application easily. Before Docker came about I was working on hacking my own solution via Squashfs but didn't get anywhere and after many months of having the project become stale, Docker comes along and looks like a good solution. I eventually became busy and didn't really have a chance to work look at Docker until last Friday. I ended up finding this a article titled SaaS Memcached and this motivated me to try looking into my SaaS again.

First I started by wiping my Chunkhost machine and installing Ubuntu 12.10. Next I knew that for the best support of Docker I needed to be running kernel 3.8.x series.

curl -O http://mirror.pnl.gov/ubuntu//pool/main/l/linux/\
linux-image-3.8.0-19-generic_3.8.0-19.29_amd64.deb

curl -O http://mirror.pnl.gov/ubuntu//pool/main/l/linux/\
linux-image-extra-3.8.0-19-generic_3.8.0-19.29_amd64.deb

After I downloaded the Raring kernel, I installed them via the dpkg command

dpkg -i *.deb

Now it's time to install Docker

echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> \
/etc/apt/sources.list

apt-get update

apt-get install lxc-docker

Test it

docker run -i -t base /bin/echo hello world


comments powered by Disqus