From 51135ee6c0129f655562eb9e43c8e3556b17ff21 Mon Sep 17 00:00:00 2001 From: Wang Jie Date: Tue, 17 Oct 2017 07:27:34 +0800 Subject: [PATCH] Update auto-redeploy.md (#4974) --- docker-cloud/apps/auto-redeploy.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-cloud/apps/auto-redeploy.md b/docker-cloud/apps/auto-redeploy.md index 294bfa364f..9f5d262c35 100644 --- a/docker-cloud/apps/auto-redeploy.md +++ b/docker-cloud/apps/auto-redeploy.md @@ -19,7 +19,7 @@ built. >* To enable **autoredeploy** on an image stored in a third party registry, > you will need to use [redeploy triggers](triggers.md) instead. -## Launching a new service with autoredeploy +## Launch a new service with autoredeploy You can launch a service with **autoredeploy** enabled by enabling it from the **general settings** section of the **Launch new service** wizard. @@ -27,7 +27,7 @@ You can launch a service with **autoredeploy** enabled by enabling it from the By default, autoredeploy is *deactivated*. -### Using the CLI or API +### Use the CLI or API You can enable **autoredeploy** when launching a service using the CLI or API. @@ -49,7 +49,7 @@ POST /api/app/v1/service/ HTTP/1.1 } ``` -## Enabling autoredeploy to an already deployed service +## Enable autoredeploy to an already deployed service You can activate or deactivate **autoredeploy** on a service after it has been deployed. @@ -59,7 +59,7 @@ You can activate or deactivate **autoredeploy** on a service after it has been 4. Click **Save changes**. -### Using the CLI or API +### Use the CLI or API You can set the **autoredeploy** option after the service has been deployed, using the CLI or API. @@ -67,13 +67,13 @@ using the CLI or API. Check our [API documentation](/apidocs/docker-cloud.md) for more information. -#### Enabling autoredeploy using the CLI +#### Enable autoredeploy using the CLI ```bash $ docker-cloud service set --autoredeploy (name or uuid) ``` -### Enabling autoredeploy using the API +### Enable autoredeploy using the API ``` PATCH /api/app/v1/service/(uuid)/ HTTP/1.1