From 7eea662f4fbd1a7abf02de4cd4955ba331002a36 Mon Sep 17 00:00:00 2001 From: Steven Follis Date: Tue, 1 Oct 2019 08:19:12 -0400 Subject: [PATCH] Enhanced Export Artifacts script - Fixed an errant line break - Switched to more verbose `docker container X` syntax rather than shorthand aliases - Swapped shorthand flags to `--` variants for clarity --- cluster/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cluster/index.md b/cluster/index.md index e7f854037e..fffe656b30 100644 --- a/cluster/index.md +++ b/cluster/index.md @@ -60,12 +60,12 @@ Docker Cluster has commands for managing the whole lifecycle of your cluster: You can export both Terraform and Ansible scripts to deploy certain components standalone or with custom configurations. Use the following commands to export those scripts: -```yaml -docker run -d --name dci --entrypoint sh -docker/cluster:latest -ldocker cp dci:/cluster/terraform terraform -docker cp dci:/cluster/ansible ansible -docker stop dci -docker rm dci +```bash +docker container run --detach --name dci --entrypoint sh docker/cluster:latest +docker container cp dci:/cluster/terraform terraform +docker container cp dci:/cluster/ansible ansible +docker container stop dci +docker container rm dci ``` ## Where to go next