From adcec8e517d5ec89b0990df3c4c9f97109d4c3f2 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Tue, 31 May 2022 13:43:20 -0700 Subject: [PATCH] Profiler tutorial: viewing from Docker container Signed-off-by: Louise Poubel --- tutorials/profiler.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorials/profiler.md b/tutorials/profiler.md index 33f56227b..02fa4ee07 100644 --- a/tutorials/profiler.md +++ b/tutorials/profiler.md @@ -100,6 +100,12 @@ xdg-open /usr/share/ignition/ignition-common3/profiler_vis/index.html # Use the installation path (macOS) open /usr/share/ignition/ignition-common3/profiler_vis/index.html + +# Inside a Docker container with port 8000 exposed +# 1. Find your container's IP with `ifconfig` +# 2. Start a basic web server: +python3 -m http.server $SOURCE_DIR/ign-common/profiler/src/Remotery/vis/index.html +# 3. Open URL "http://:8000/" with a browser on the host. ``` ### On Ignition library