bentoml-containerize
Skill by bentoml
Builds a local BentoML project into a Bento, containerizes it into a Docker image, smoke-tests it, and pushes it to a container registry. Built for developers preparing a BentoML service for Kubernetes or EC2 deployment.
Install bentoml-containerize
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.claude/skills && cp -r /tmp/BentoML/skills/bentoml-containerize ~/.claude/skills/bentoml-containerizeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/BentoML/skills/bentoml-containerize ~/.gemini/antigravity-cli/skills/bentoml-containerizeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install bentoml-containerize in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
bentoml-containerize is an agent skill that walks through packaging a BentoML service. It checks preflight requirements, verifies the runtime environment spec, builds the project into a Bento, and containerizes it with bentoml containerize. The skill then runs the container locally, calls a real endpoint, and pushes the image to a registry such as Docker Hub, GHCR, ECR, a private registry, or ttl.sh. For kind or minikube, it loads the image into the local cluster without a registry.
The output is a pushed image reference for the bentoml-k8s-deploy or bentoml-ec2-deploy skills. The skill does not deploy anything itself. It is aimed at developers who want to package a BentoML service for deployment, and it asks which registry and CPU architecture to target before building.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight checksVerifies the BentoML CLI and a running Docker daemon, and locates the project's service.py.
- Runtime environment checkConfirms the service class and declares the Python dependencies the service imports.
- Build BentoBuilds the project into a Bento once and captures its tag for later steps.
- ContainerizeCreates an OCI/Docker image with bentoml containerize, optionally for a target platform.
- Local smoke testRuns the container with docker run, waits for readiness, and calls one real endpoint.
- Push to registryPushes the image to the chosen registry, or loads it into kind or minikube.
- Deploy handoffReports the image reference and deploy facts for the Kubernetes or EC2 deploy skills.
What you need
- BentoML CLI version 1.4 or later
- A running Docker daemon
- Network access to the target image registry
- AWS CLI v2 for ECR pushes
Try asking
- Containerize my BentoML service and push it to GHCR
- Build a Docker image for my BentoML service targeting linux/amd64
- Package my BentoML project and load it into my kind cluster
Good to know
- Does not deploy; hand off to bentoml-k8s-deploy or bentoml-ec2-deploy.
- Containerizing bakes referenced models into the image, which makes it large.
- GHCR packages default to private visibility.
- Images loaded into kind or minikube are not pushed to a registry.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/bentoml-containerize/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/bentoml-workflow.md5 KB -
references/cross-platform.md2 KB -
references/registries.md5 KB -
references/runtime-environment.md6 KB
Alternatives to bentoml-containerize
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
bentoml-containerize: common questions
Does this skill deploy my BentoML service?
No. It builds, containerizes, smoke-tests, and pushes the image, then hands off to bentoml-k8s-deploy or bentoml-ec2-deploy.
Which registries does it support?
The source lists Docker Hub, GHCR, ECR, a private registry, kind or minikube local load, and ttl.sh.
Why must the image tag match the bento version?
The deploy skills' config.yml takes the image URL without a tag and appends the bento version, so any other tag deploys an image that was never pushed.
How do I install bentoml-containerize?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bentoml-containerize free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is bentoml-containerize safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to bentoml-containerize?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
