mirror of https://github.com/docker/docs.git
Merge pull request #547 from jimmyxian/master
'docker tag/push' api implementation
This commit is contained in:
commit
98f2e2a908
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue