Browse code

Add a bundlefile example in the documentation

There is no example bundlefile in the documentation
so a bundlefile example has been added. This should
help in case user don't want to search inside the
source code.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Yong Tang authored on 2016/07/26 04:37:56
Showing 1 changed files
... ...
@@ -182,3 +182,21 @@ A service has the following fields:
182 182
     </dd>
183 183
 </dl>
184 184
 
185
+The following is an example of bundlefile with two services:
186
+
187
+```json
188
+{
189
+	"Version": "0.1",
190
+	"Services": {
191
+		"redis": {
192
+			"Image": "redis@sha256:4b24131101fa0117bcaa18ac37055fffd9176aa1a240392bb8ea85e0be50f2ce",
193
+			"Networks": ["default"]
194
+		},
195
+		"web": {
196
+			"Image": "dockercloud/hello-world@sha256:fe79a2cfbd17eefc344fb8419420808df95a1e22d93b7f621a7399fd1e9dca1d",
197
+			"Networks": ["default"],
198
+			"User": "web"
199
+		}
200
+	}
201
+}
202
+```