Merge pull request #547 from jimmyxian/master

'docker tag/push' api implementation
This commit is contained in:
Alexandre Beslic 2015-04-01 14:22:42 -07:00
commit 98f2e2a908
2 changed files with 2 additions and 4 deletions

View File

@ -18,8 +18,6 @@ GET "/containers/{name:.*}/attach/ws"
POST "/build" POST "/build"
POST "/images/load" POST "/images/load"
POST "/images/{name:.*}/push"
POST "/images/{name:.*}/tag"
``` ```
## Endpoints which behave differently ## Endpoints which behave differently

View File

@ -511,8 +511,8 @@ func createRouter(c *context, enableCors bool) *mux.Router {
"/build": notImplementedHandler, "/build": notImplementedHandler,
"/images/create": postImagesCreate, "/images/create": postImagesCreate,
"/images/load": notImplementedHandler, "/images/load": notImplementedHandler,
"/images/{name:.*}/push": notImplementedHandler, "/images/{name:.*}/push": proxyImage,
"/images/{name:.*}/tag": notImplementedHandler, "/images/{name:.*}/tag": proxyImage,
"/containers/create": postContainersCreate, "/containers/create": postContainersCreate,
"/containers/{name:.*}/kill": proxyContainer, "/containers/{name:.*}/kill": proxyContainer,
"/containers/{name:.*}/pause": proxyContainer, "/containers/{name:.*}/pause": proxyContainer,