Dockerized dprint, with support for java (maybe more later)
docker -t dprint .
You will need to mount the source code that you're formatting to the container. It's easier to mount it to a subdirectory of the image's workdir, /app.
docker run --rm -it -v $(pwd)/src:/app/src dprint check