From f42f2a9858d3385a16c1a48094549939bfc3c59c Mon Sep 17 00:00:00 2001 From: Trapier Marshall Date: Wed, 13 Sep 2017 18:55:21 -0400 Subject: [PATCH] ucp: correct agent config change command (#4595) Signed-off-by: Trapier Marshall --- .../ucp/2.2/guides/admin/configure/ucp-configuration-file.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datacenter/ucp/2.2/guides/admin/configure/ucp-configuration-file.md b/datacenter/ucp/2.2/guides/admin/configure/ucp-configuration-file.md index 83b5f13974..1370042a3c 100644 --- a/datacenter/ucp/2.2/guides/admin/configure/ucp-configuration-file.md +++ b/datacenter/ucp/2.2/guides/admin/configure/ucp-configuration-file.md @@ -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=,target=/etc/ucp/ucp.toml +$ docker service update --config-rm $CURRENT_CONFIG_NAME --config-add source=,target=/etc/ucp/ucp.toml ucp-agent ```