Update bundles.md

This commit is contained in:
Wang Jie 2017-10-17 14:21:58 +08:00 committed by Misty Stanley-Jones
parent b520274736
commit 42b84f59a3
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
--- ---
advisory: experimental advisory: experimental
description: Description of Docker and Compose's experimental support for application bundles description: Description of Docker and Compose's experimental support for application bundles
keywords: documentation, docs, docker, compose, bundles, stacks keywords: documentation, docs, docker, compose, bundles, stacks
title: Docker stacks and distributed application bundles (experimental) title: Docker stacks and distributed application bundles (experimental)
--- ---
@ -32,7 +32,7 @@ walkthrough](/get-started/). This shows you how to define
a service configuration in a Compose file, deploy the app, and use a service configuration in a Compose file, deploy the app, and use
the relevant tools and commands. the relevant tools and commands.
## Producing a bundle ## Produce a bundle
The easiest way to produce a bundle is to generate it using `docker-compose` The easiest way to produce a bundle is to generate it using `docker-compose`
from an existing `docker-compose.yml`. Of course, that's just *one* possible way from an existing `docker-compose.yml`. Of course, that's just *one* possible way
@ -50,7 +50,7 @@ WARNING: Unsupported key 'volumes' in services.nsqd - ignoring
Wrote bundle to vossibility-stack.dab Wrote bundle to vossibility-stack.dab
``` ```
## Creating a stack from a bundle ## Create a stack from a bundle
> **Note**: Because support for stacks and bundles is in the experimental stage, > **Note**: Because support for stacks and bundles is in the experimental stage,
> you need to install an experimental build of Docker Engine to use it. > you need to install an experimental build of Docker Engine to use it.
@ -103,7 +103,7 @@ COMMAND
axqh55ipl40h vossibility-stack_vossibility-collector 1 icecrime/vossibility-collector@sha256:f03f2977203ba6253988c18d04061c5ec7aab46bca9dfd89a9a1fa4500989fba --config /config/config.toml --debug axqh55ipl40h vossibility-stack_vossibility-collector 1 icecrime/vossibility-collector@sha256:f03f2977203ba6253988c18d04061c5ec7aab46bca9dfd89a9a1fa4500989fba --config /config/config.toml --debug
``` ```
## Managing stacks ## Manage stacks
Stacks are managed using the `docker stack` command: Stacks are managed using the `docker stack` command: