Run your own server with Docker 07 Sep 2022


Run your own diagramming server using our Docker image of This image includes server-side support for export to PDF, image and .vsdx formats, diagram storage with Google Drive, OneDrive and PlantUML diagram generation, without any dependency on the servers.
The desktop app works on MacOS, Windows and Linux

There are many reasons that a SaaS application is not the right choice and companies prefer to run their own environment, where all of their data and applications are kept behind a firewall for maximum security. Containerised software applications are isolated from their environment, inherently providing better security.

Docker containers also avoid problems created by missing or outdated dependencies on other software components because everything needed to run the application is packed with it in that container.

Run the Docker image

The Docker image is based on Tomcat to support reverse proxies, and is kept up to date with the production running on

  1. Install and run the Docker platform on your server or desktop machine.
  2. Run the Docker container:
    docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 jgraph/drawio

Note: Use the DRAWIO_* environment variables listed in in the main directory to set up certificates and access to an SSL keystore mount. For example, a configured command will look similar to:

docker run -it -m1g -e LETS_ENCRYPT_ENABLED=true -e --rm --name="draw" -p 80:80 -p 443:8443 jgraph/drawio

For more information on setup and configuration options, refer to the Docker image page on DockerHub.

Follow us on GitHub, Twitter, Facebook.