~/.docker/config.json, then builds the 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.
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
Set thedocker_base_image_url in cerebrium.toml to the registry image URL:
Step 4: Deploy
Run:Security Notes
Cerebrium applies the following security measures to protect registry credentials:- 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