Quick reference
| Command | Description |
|---|---|
cpln image build | Build and optionally push images |
cpln image docker-login | Authenticate Docker to your org’s registry |
cpln image get | List or view images in your org |
cpln image copy | Copy images between organizations |
cpln image delete | Delete images from your registry |
Build and push images
The most common workflow is building and pushing a local application:- Builds your image using the Dockerfile in the current directory
- Tags it for your org’s private registry
- Pushes it to
your-org.registry.cpln.io/my-app:v1
Build options
- With Dockerfile
- With buildpacks
Use images in workloads
Reference your pushed images when creating workloads:Image reference formats
| Format | Description |
|---|---|
//image/IMAGE:TAG | Image in your org’s registry |
ORG.registry.cpln.io/IMAGE:TAG | Image in another org’s registry |
nginx:latest | Public image from Docker Hub |
gcr.io/project/IMAGE:TAG | Image from Google Container Registry |
Authenticate Docker
For direct Docker operations, authenticate to your org’s registry:List and manage images
Copy images between orgs
Copy an image to another organization:For cross-org copies with different credentials, use
--to-profile. See the Copy Images guide.CI/CD authentication
For automated pipelines, setCPLN_TOKEN in your CI/CD platform’s secrets (e.g., GitLab CI/CD variables, GitHub secrets) and use the CLI directly:
CPLN_TOKEN when available.
For direct Docker access, authenticate with a service account: