For API-style rendering, the official PlantUML Server image is the practical container option.
docker run -d --name plantuml-server -p 8080:8080 plantuml/plantuml-server:jetty
Use this endpoint from local tools and editors:
http://localhost:8080