Jim Cheung

Friday, August 08, 2014

I'm not a devops fans, but from vagrant to docker, these tools are making developers' life easier.

my current development environment has been switched to vagrant coreos (guest) hosting docker containers by projects.

I just use debian:jessie as base image, setup the environment then tar it to share to other machines.

two mini script I googled for cleaning up containers and images

clean up containers:

docker ps -a -q | xargs -n 1 -I {} docker rm {}

clean up images:

docker rmi $( docker images | grep '<none>' | tr -s ' ' | cut -d ' ' -f 3)

Friday, August 29, 2014

keep moving my development environment to docker: repo of my dockerfiles

because of docker, I finally gave a try on hhvm, but it seems changing some default behaviors of php, like hiding error messages from display, nothing on phpinfo(). also ubuntu package doesn't include some extensions like memcached, have to build it again. I think I'll try again later.

Blog Archive