From e5b594d0185a96596c8e946a40b71e0b491e9478 Mon Sep 17 00:00:00 2001 From: jimmyxian Date: Mon, 30 Mar 2015 20:37:23 +0800 Subject: [PATCH 1/2] fix swarm api readme Signed-off-by: Xian Chaobo --- api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/README.md b/api/README.md index cdbeaf558d..d1fb418115 100644 --- a/api/README.md +++ b/api/README.md @@ -18,7 +18,6 @@ GET "/containers/{name:.*}/attach/ws" POST "/commit" POST "/build" -POST "/images/create" (pull implemented) POST "/images/load" POST "/images/{name:.*}/push" POST "/images/{name:.*}/tag" @@ -44,6 +43,7 @@ POST "/images/{name:.*}/tag" * `GET "/containers/json"` : Containers started from the `swarm` official image are hidden by default, use `all=1` to display them. +* `GET "/images/json"` : Use '--filter node=\' to show images of the specific node. ## Docker Swarm documentation index From 412027c2123c745d5917040d3585630bbdb3d489 Mon Sep 17 00:00:00 2001 From: jimmyxian Date: Mon, 30 Mar 2015 20:52:19 +0800 Subject: [PATCH 2/2] fix 404 error Signed-off-by: Xian Chaobo --- api/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/README.md b/api/README.md index d1fb418115..d36f1af797 100644 --- a/api/README.md +++ b/api/README.md @@ -47,7 +47,7 @@ POST "/images/{name:.*}/tag" ## Docker Swarm documentation index -- [User guide](./index.md) -- [Discovery options](./discovery.md) -- [Sheduler strategies](./scheduler/strategy.md) -- [Sheduler filters](./scheduler/filter.md) +- [User guide](https://docs.docker.com/swarm/) +- [Discovery options](https://docs.docker.com/swarm/discovery/) +- [Sheduler strategies](https://docs.docker.com/swarm/scheduler/strategy/) +- [Sheduler filters](https://docs.docker.com/swarm/scheduler/filter/)