Update for docker 1.3+.