Bunny Container Registry is in Preview. Usage is temporarily free during the Preview phase. Features and commands may change. See Product Release Stages for details.
registry.bunny.net. Repositories are private to your account and namespaced by your account ID (<account-id>/my-app). The bunny.net CLI manages this namespace for you, so you only need your account ID when pushing with Docker directly.
Magic Containers only supports images built for the linux/amd64 architecture. When building your container image, ensure you target this platform using
--platform linux/amd64.Quickstart
The recommended way to push images is with the bunny.net CLI.bunny registry is experimental and may change in future releases.1
Install the bunny.net CLI and log in
If you haven’t already, install the CLI and authenticate:
2
Push your image
Push a local Docker image by name. The CLI tags it for the registry and pushes it under your account namespace automatically:
push shells out to the Docker CLI, so Docker must be installed and the image must exist in Docker’s image store.Using the bunny.net CLI
Thebunny registry command pushes images and lists repositories and tags on the registry. Unlike Docker, you don’t need to tag images with the registry host or your account ID: the CLI adds and hides the account namespace automatically, so you always work with the bare repository name.
1
Push to an explicit repository and tag
Without flags,
push derives the repository and tag from the image name. Override either with flags:2
List repositories and tags
Verify the push by listing what’s on the registry:
list and tags talk to the registry directly and don’t require Docker.Pushing with Docker
If you can’t use the bunny.net CLI, for example in a CI pipeline where only Docker is available, you can push images with Docker directly. Unlike the CLI, you handle authentication and the account namespace yourself.1
Log in to the registry
Authenticate with
token as the username and your API key as the password:2
Tag your image
Tag the image with the registry host and your account ID. Replace
my-app with the name of your image and <account-id> with your account ID:3
Push the image
Deploying pushed images
Images pushed to the Bunny Container Registry appear automatically in the image list when you deploy or update a Magic Containers app. Select the repository and tag to deploy; no registry credentials need to be configured. To automate the whole flow, so every push to your repository builds an image, pushes it to the registry, and rolls it out, see Deploy with GitHub Actions.Limits
The following limits apply to each account:- Repositories per account: 100.
- Tags per account: 1,000.
- Blobs per account: 5,000. Blobs are the layers, configs, and manifests that make up your images.
- Maximum image size: 10 GB.
- Maximum total storage: 100 GB.