I tried to build the environment of PlantUML Server with Docker

The other day I was working on drawing a class chart. I haven't drawn a class diagram since I took the applied information exam. .. .. Moreover, the applied information is a pattern memorization due to the fill-in-the-blank problem. .. .. The work was completed successfully, but I decided to study modeling. Therefore, I tried to build the environment of PlantUML execution environment (PlantUML Server) that can draw UML like programming using Docker.

Pull of container image

Download the official image from Docker Hub. It can be executed with the following command.

docker pull plantuml/plantuml-server

If you use the command format used in Docker Ver1.13.x or later, you can execute it with the following command.

docker image pull plantuml/plantuml-server

Start container

Start the container. By passing the --restart = always option, the container will be restarted automatically when the host is restarted. It seems that you can choose Jetty version or Tomcat version, but I did not specify it in particular. After checking the log, it seems that the Jetty version is started by default. Either way, it's still implemented in Java.

docker run -d -p 8080:8080 --restart=always plantuml/plantuml-server

It can also be executed with the following command.

docker container run -d -p 8080:8080 --restart=always plantuml/plantuml-server

Start confirmation

To check on the host, launch a browser and go to localhost: 8080. If you move to the screen below, you are successful. It seems that the drawn UML diagram can be displayed as SVG or ASCII Art.

plantumlsv

plantuml

Summary

Now that you have built the environment for PlantUML Server, I would like to study modeling with the following books.

image.png

Recommended Posts

I tried to build the environment of PlantUML Server with Docker
I tried to build the environment of WSL2 + Docker + VSCode
I tried to build the environment little by little using docker
I tried to check the operation of gRPC server with grpcurl
I tried to build a Firebase application development environment with Docker in 2020
I tried to summarize the state transition of docker
I tried to build an environment using Docker (beginner)
Build PlantUML environment with VSCode + Docker
When I tried to build an environment of PHP7.4 + Apache + MySQL with Docker, I got stuck [Windows & Mac]
I tried to create a padrino development environment with Docker
How to build Rails 6 environment with Docker
I tried to solve the problem of "multi-stage selection" with Ruby
I tried to build an http2 development environment with Eclipse + Tomcat
I tried to build a laravel operating environment while remembering Docker
I tried to build an API server with Go (Echo) x MySQL x Docker x Clean Architecture
I tried to verify AdoptOpenJDK 11 (11.0.2) with Docker image
[Rails] How to build an environment with Docker
Problems I was addicted to when building the digdag environment with docker
01. I tried to build an environment with SpringBoot + IntelliJ + MySQL (MyBatis) (Windows10)
I tried to visualize the access of Lambda → Athena with AWS X-Ray
I tried migrating the portfolio created on Vagrant to the Docker development environment
I tried to measure and compare the speed of GraalVM with JMH
After all I wanted to preview the contents of mysql with Docker ...
I tried to take a look at the flow of Android development environment construction with Android Studio
I tried using the Server Push function of Servlet 4.0
How to build docker environment with Gradle for intelliJ
Build an environment of Ruby2.7.x + Rails6.0.x + MySQL8.0.x with Docker
05. I tried to stub the source of Spring Boot
I tried to compare the infrastructure technology of engineers these days with cooking.
I tried to reduce the capacity of Spring Boot
I tried the Docker tutorial!
Build docker environment with WSL
How to build an environment of [TypeScript + Vue + Express + MySQL] with Docker ~ Vue edition ~
[WIP] I tried the configuration of Docker + Streama + NFS
I tried BIND with Docker
I tried to check the operation of http request (Put) with Talented API Tester
[Beginner's point of view] I tried to solve the FizzBuzz problem "easily" with Ruby!
I tried to investigate the mechanism of Emscripten by using it with the Sudoku solver
I tried to make an introduction to PHP + MySQL with Docker
I tried to increase the processing speed with spiritual engineering
I tried to summarize the basics of kotlin and java
[Swift] I tried to implement the function of the vending machine
How to build [TypeScript + Vue + Express + MySQL] environment with Docker ~ Express ~
I tried to summarize the basic grammar of Ruby briefly
I tried to link chat with Minecraft server with Discord API
I tried to create React.js × TypeScript × Material-UI on docker environment
How to build Rails, Postgres, ElasticSearch development environment with Docker
Build a Node-RED environment with Docker to move and understand
I want to narrow down the display of docker ps
I tried upgrading from CentOS 6.5 to CentOS 7 with the upgrade tool
Build a Node.js environment with Docker
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
I tried to interact with Java
I tried to explain the method
Build docker + laravel environment with laradock
How to build a Jenkins server with a Docker container on CentOS 7 of VirtualBox and access the Jenkins server from a local PC
[Rails 6.0, Docker] I tried to summarize the Docker environment construction and commands necessary to create a portfolio
I tried to develop the cache function of Application Container Cloud Service in the local environment
I want to recreate the contents of assets from scratch in the environment built with capistrano
Super beginner builds Rails6 + Postgresql environment with Docker to the end