# Deploy a locally built image The image is built on the local machine, so it must be pushed into the container service's **own private registry** before it can be deployed. That registry is separate from Amazon ECR. ## 1. Build for the right architecture Lightsail container services run on **amd64 (x86_64)**. Build for that explicitly — a default build on an ARM machine (for example Apple Silicon) produces an arm64 image that fails at runtime with `exec format error`: ```bash docker build --platform linux/amd64 -t my-app . ``` ## 2. Push the image into the service registry Both options upload the image and register it, yielding a versioned reference `:.