Public Repository

Last pushed: 2 months ago
Short Description
Docker image with java, graphviz, and plantuml.
Full Description

=================
HOST INSTRUCTIONS

RUN CONTAINER
docker run --rm -d -v <HOST_PATH>:/src --name=uml shommel/uml

ENTER CONTAINER
docker exec -it uml bash

STOP CONTAINER
docker stop uml

======================
CONTAINER INSTRUCTIONS

ENTER DIAGRAM SOURCE DIR
cd /src

GENERATE DIAGRAMS
java -jar /lib/uml/plantuml.1.2017.14.jar -tsvg <DIAGRAM_SOURCE>

You can create subdirs for diagrams, but keep all work under /src.
It will mount to the host path specified above.

Use -tsvg as shown above to output diagram as SVG. Without it, the default is PNG

Docker Pull Command
Owner
shommel

Comments (0)