Updated for Docker 0.8.0.