Skip to main content
Each SGP workspace has a Docker-compatible registry. You push images to it and reference them in job configs; Train takes care of getting the right image onto the right cloud backend.

Push an Image

1

Authenticate

Log in with your SGP credentials:
2

Build and tag

3

Push

4

Reference in your job config

Use the registry URL directly in your job config. Train resolves it automatically at submission:
Train ensures the exact image you pushed is what runs, even if the tag is updated later.

Multi-Architecture Builds

Cloud training instances run linux/amd64. If you’re building on Apple Silicon, cross-compile explicitly:
Pushing a linux/arm64 image to an amd64 compute instance will cause the job to fail at startup with an exec format error.

Example Dockerfile

Your training script accesses data through STORAGE_MOUNT_*_PATH env vars, with no cloud-specific paths needed:

Next Steps