Fix to work with Docker 1.0