Skip to content
Start free

The Docker Image

Open in ClaudeOpen in ChatGPT

DocSpring Enterprise is released as one Docker image, built for both linux/amd64 (Intel and AMD) and linux/arm64 (AWS Graviton, Ampere and other Arm servers). Every service, the release command and the scheduled tasks run from the same image, with different commands (Services).

We push each release to two private registries. Pull from whichever suits your platform:

RegistryImageCredentials
Docker Hubdocspringcom/docspring-enterpriseA Docker Hub username and token
AWS ECR691950705664.dkr.ecr.us-east-1.amazonaws.com/docspring/enterpriseAn AWS access key ID and secret

We email you the credentials with your license key. Docker Hub is the simplest for most platforms, since its token doesn’t expire. ECR suits installs on AWS, such as AWS via Convox.

Sign in to Docker Hub:

docker login --username <username from DocSpring>

Sign in to ECR with the AWS CLI. ECR passwords last 12 hours, so platforms that pull from ECR refresh them for you:

AWS_ACCESS_KEY_ID=<access key ID from DocSpring> AWS_SECRET_ACCESS_KEY=<secret from DocSpring> \
aws ecr get-login-password --region us-east-1 |
docker login --username AWS --password-stdin 691950705664.dkr.ecr.us-east-1.amazonaws.com

Each release’s version is the first 10 characters of the commit it was built from, such as c648191044. The DocSpring Enterprise releases page lists every version with its release notes, and we email them to your license contacts.

TagWhat it is
<version>A multi-arch image: Docker pulls the build for your server’s architecture.
<version>-amd64The linux/amd64 build only.
<version>-arm64The linux/arm64 build only.
latestThe newest release. It moves with every release.

Pin a version in production, such as docspringcom/docspring-enterprise:c648191044, so a restart or a new node never starts a different release from the rest of your install. Change the version when you upgrade. latest is fine for a trial.

Use the multi-arch <version> tag unless your platform needs one architecture named, for example a build that starts FROM our image on a machine with a different architecture from your servers.

Both builds are made from the same code and work the same way. Arm servers usually cost less for the same work (AWS Graviton instances cost about 20% less than comparable Intel ones), so choose arm64 when your platform offers it. You can run a mix: each server pulls its own build.

The image has everything DocSpring needs to generate documents: Chromium for HTML templates, LibreOffice for Word templates, the PDF and image tools, and the model for AI field detection. They run in the worker, each with a cleared environment and a restricted set of system calls. The image doesn’t include PostgreSQL or Redis.

The services run as the unprivileged deploy user. The container starts as root only to block the cloud metadata address and switch to deploy (Container security).

The image’s default command runs every service in one container, which is handy for a trial. It still needs PostgreSQL and Redis, so the easiest way to try DocSpring is our Docker Compose setup, which runs them alongside it.