ucp: correct agent config change command (#4595)

Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
This commit is contained in:
Trapier Marshall 2017-09-13 18:55:21 -04:00 committed by Joao Fernandes
parent f36e261b6f
commit f42f2a9858
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ You can see an example TOML config file that shows how to configure UCP
settings. From the command line, run UCP with the `example-config` option:
```bash
$ docker container run --rm {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }} example-config
$ docker container run --rm {{ page.ucp_org }}/{{ page.ucp_repo }}:{{ page.ucp_version }} example-config
```
## Inspect and modify configurations
@ -59,7 +59,7 @@ Use the `docker service update` command to remove the current configuration and
apply the new configuration to the `ucp-agent` service.
```bash
$ docker service update --config-rm $CURRENT_CONFIG_NAME --config-add source=<name>,target=/etc/ucp/ucp.toml
$ docker service update --config-rm $CURRENT_CONFIG_NAME --config-add source=<name>,target=/etc/ucp/ucp.toml ucp-agent
```