compatibility with docker 0.8