Cerebrium supports using your own private Docker images as base images for your deployments - including images from Docker Hub and AWS ECR. Our build system securely pulls your private image using the Docker credentials stored in your ~/.docker/config.json, and then builds your app on top of that image. Since these credentials are used during deployment, they should be team-accessible rather than tied to a single individual.Documentation Index
Fetch the complete documentation index at: https://cerebrium-fix-make-entrypoint-docs-explicit.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Your Docker images MUST support
linux/amd64 architecture. This is required
for Cerebrium’s build environment.Step-by-Step Setup
Step 1: Login to Your Registry
Based on your registry, login using one of the following commands: Docker Hub:Step 2: Verify Login
Check that your credentials are saved:Step 3: Configure Your Project
Edit your cerebrium.toml and enter the url of the registry image from the step 2:Step 4: Deploy
Simply run:Security Notes
You might be wondering what security measures Cerebrium follows in order to keep your credentials safe - we take the following precaustions:- In Transit: Credentials are sent over HTTPS
- In Storage: Stored in DynamoDB with automatic TTL-based deletion after build completion
- In Logs: Never logged or displayed (using obfuscated.String type)
- In Build: Only accessible during build, then discarded