tag/push api implementation

Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
This commit is contained in:
Xian Chaobo 2015-04-01 18:17:47 +08:00
parent fe054ba57c
commit 33933b1922
1 changed files with 2 additions and 2 deletions

View File

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