The Docker Image
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).
Registries
Section titled “Registries”We push each release to two private registries. Pull from whichever suits your platform:
| Registry | Image | Credentials |
|---|---|---|
| Docker Hub | docspringcom/docspring-enterprise | A Docker Hub username and token |
| AWS ECR | 691950705664.dkr.ecr.us-east-1.amazonaws.com/docspring/enterprise | An 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.comVersions and tags
Section titled “Versions and tags”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.
| Tag | What it is |
|---|---|
<version> | A multi-arch image: Docker pulls the build for your server’s architecture. |
<version>-amd64 | The linux/amd64 build only. |
<version>-arm64 | The linux/arm64 build only. |
latest | The 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.
amd64 or arm64
Section titled “amd64 or arm64”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.
What’s in the image
Section titled “What’s in the image”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).
Try it on one machine
Section titled “Try it on one machine”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.