Sometimes you want to show a local copy of your Cloud Foundry deployment, without maintaining a connection to the deployed Scope App and Probes. This is easy to do with the Scope debugging menu.
- A running Scope App that shows the topology you wish to export and display locally
- Docker
-
Visit the running Scope App in your browser.
-
Click the Troubleshooting menu in the bottom right of your Scope window:
-
Select JSON download from the window that appears:
-
Run the following Docker command from the directory where you downloaded your JSON file to:
docker run --rm -v $PWD/report.json:/tmp/report.json \ -p 4040:4040 weaveworks/scope:latest_release \ --mode=app --weave=false --app-only \ --app.collector=file:///tmp/report.json
-
Weave Scope should now be available on http://localhost:4040, displaying your JSON data file.