fixes for docker 0.4.8