You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 183 add dockerfile
* 183 remove dockerfile
* 183 add dockerfile
* 183 update dockerfile
* 183 add GA workflow to build and push docker image
* 183 update readme
* 183 slight fix to readme
* 183 add PYTHONUNBUFFERED to dockerfile
* 183 ignore warnings in main.py remove from dockerfile
* 183 change in line with comments
* 183 testing building container on push to branch
* 183 revert workflow to only build docker on main
You can run otel2puml using the provided [Docker image](https://github.com/orgs/xtuml/packages?repo_name=otel2puml). This is especially useful if you want to run the tool in an isolated environment without manually managing dependencies. Here’s how to do it:
119
+
120
+
Example Command:
121
+
```bash
122
+
docker run \
123
+
-v /path/to/job_json_files:/job_json_files \
124
+
-v /path/to/config.yaml:/config.yaml \
125
+
-v /path/to/puml_output:/puml_output \
126
+
ghcr.io/xtuml/otel2puml:<version> \
127
+
-o /puml_output otel2puml -c /config.yaml
128
+
```
129
+
130
+
Explanation:
131
+
132
+
*`-v /path/to/job_json_files:/job_json_files`: Mounts a local folder containing your OTel data in JSON format to the Docker container's /job_json_files directory.
133
+
*`-v /path/to/config.yaml:/config.yaml`: Mounts the configuration file for `otel2puml` to the Docker container's /config.yaml.
134
+
*`-v /path/to/puml_output:/puml_output`: Mounts a local folder where the output PlantUML diagrams will be saved.
135
+
*`ghcr.io/xtuml/otel2puml`:latest: Specifies the Docker image to run.
136
+
*`-o /puml_output`: Tells `otel2puml` where to save the generated PlantUML files inside the container (linked to the local `puml_output` folder).
137
+
*`otel2puml -c /config.yaml`: Runs the `otel2puml` command using the provided configuration file.
138
+
139
+
Replace `/path/to/` with the actual paths on your local machine.
140
+
112
141
## Installation
113
142
114
143
There are two ways to set up this project: manual installation or using a devcontainer (recommended).
0 commit comments