Add CLI instructions to create UCP support dump (#1817)

* Add CLI instructions to create UCP support dump

Fixes #1648

Signed-off-by: Tom Barlow <tomwbarlow@gmail.com>

* Make image specific to version
This commit is contained in:
Thomas Barlow 2017-02-23 20:58:20 +00:00 committed by Joao Fernandes
parent be40ae6369
commit 52a426164b
5 changed files with 35 additions and 19 deletions

View File

@ -135,6 +135,7 @@ defaults:
hide_from_sitemap: true hide_from_sitemap: true
ucp_version: "2.0" ucp_version: "2.0"
dtr_version: "2.1" dtr_version: "2.1"
docker_image: "docker/ucp:2.0.3"
- -
scope: scope:
path: "datacenter/ucp/1.1" path: "datacenter/ucp/1.1"

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -15,10 +15,26 @@ If you need help, you can file a ticket via:
Be sure to use your company email when filing tickets. Be sure to use your company email when filing tickets.
## Download a support dump Docker Support engineers may ask you to provide a UCP support dump, which is an
archive that contains UCP system logs and diagnostic information. To obtain a
support dump:
Docker Support engineers may ask you to provide a UCP support dump. For this: ## From the UI
1. Log into UCP with an administrator account.
1. Log into the UCP UI with an administrator account.
2. On the top-right menu, **click your username**, and choose **Support Dump**. 2. On the top-right menu, **click your username**, and choose **Support Dump**.
![](images/get-support-1.png){: .with-border}
## From the CLI
To get the support dump from the CLI, use SSH to log into a UCP manager node
and run:
```none
docker run --rm \
--name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
{{ page.docker_image }} \
support > docker-support.tgz
```

View File

@ -15,27 +15,26 @@ If you need help, you can file a ticket via:
Be sure to use your company email when filing tickets. Be sure to use your company email when filing tickets.
## Download a support dump
Docker Support engineers may ask you to provide a UCP support dump, which is an Docker Support engineers may ask you to provide a UCP support dump, which is an
archive that contains UCP system logs and diagnostic information. To obtain a archive that contains UCP system logs and diagnostic information. To obtain a
support dump: support dump:
## From the UI
1. Log into the UCP UI with an administrator account. 1. Log into the UCP UI with an administrator account.
2. On the top-right menu, **click your username**, and choose **Support Dump**. 2. On the top-right menu, **click your username**, and choose **Support Dump**.
An archive will be downloaded by your browser after a brief time interval.
If the user interface is not accessible, you may perform the following number of ![](images/get-support-1.png){: .with-border}
steps instead to obtain a single-node version of the support dump:
1. Obtain direct CLI access to the docker daemon on a UCP manager node. ## From the CLI
2. Run the CLI support tool with the following command: To get the support dump from the CLI, use SSH to log into a UCP manager node
```bash and run:
$ docker run --rm \
--name ucp \ ```none
-v /var/run/docker.sock:/var/run/docker.sock \ docker run --rm \
{{ page.docker_image }} \ --name ucp \
support > docker-support.tgz -v /var/run/docker.sock:/var/run/docker.sock \
``` {{ page.docker_image }} \
support > docker-support.tgz
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB