mirror of https://github.com/docker/docs.git
Merge pull request #9543 from stevenfollis/patch-1
Enhanced Export Artifacts script
This commit is contained in:
commit
8499c56b48
|
|
@ -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:
|
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
|
```bash
|
||||||
docker run -d --name dci --entrypoint sh
|
docker container run --detach --name dci --entrypoint sh docker/cluster:latest
|
||||||
docker/cluster:latest -ldocker cp dci:/cluster/terraform terraform
|
docker container cp dci:/cluster/terraform terraform
|
||||||
docker cp dci:/cluster/ansible ansible
|
docker container cp dci:/cluster/ansible ansible
|
||||||
docker stop dci
|
docker container stop dci
|
||||||
docker rm dci
|
docker container rm dci
|
||||||
```
|
```
|
||||||
|
|
||||||
## Where to go next
|
## Where to go next
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue