Getting help
When something on an install needs a second pair of eyes, one command gathers what support needs, with your secrets and card numbers masked, into an archive you review and send.
The support bundle
Section titled “The support bundle”On the install’s host, in the deploy directory:
./support-bundle.shIt writes support-bundle-<time>.tar.gz in the current directory (or at the path you give it) holding:
versions.txt: when it was collected, the host, Docker and Compose versions;- the Compose files as written, the configuration as Compose renders it (
rendered-compose.yaml) and your.env(env.masked.txt), with every password, secret, token, key and recipient replaced by[masked]; ps.txt,images.txt,top.txt: the services, their images and their processes;logs/<service>.log: the last 2,000 lines of each service’s log (SUPPORT_BUNDLE_LINESchanges that), with any run of 13 to 19 digits replaced by[number masked], so a card number that reached a log can’t leave with the bundle;health/: the api’s health and version, and each service’s metrics (the monitoring page says what they hold);system.txt: uptime, disk, memory and Docker’s own report, masked the same way.
Nothing leaves the host: the script writes the archive and stops. Open it before sending; what is in it is yours to check.
What to send with it
Section titled “What to send with it”Say what you did, what you expected and what happened instead, with the time, so the logs can be read at the right place. For a scenario, the run’s page in the console has a link to copy; for a host, its name. An evidence pack (the evidence walkthrough) is a good way to hand over a run exactly as it was.