Merge pull request #2723 from SvenDowideit/doc-build-image

Use the work Path for docker cp CONTAINER:PATH
This commit is contained in:
Michael Crosby
2013-11-20 11:10:13 -08:00
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -987,7 +987,7 @@ func postContainersCopy(srv *Server, version float64, w http.ResponseWriter, r *
}
if copyData.Resource == "" {
return fmt.Errorf("Resource cannot be empty")
return fmt.Errorf("Path cannot be empty")
}
if copyData.Resource[0] == '/' {
copyData.Resource = copyData.Resource[1:]