sagemaker-containers
Open source library for creating containers to run on Amazon SageMaker.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2020-06-22, repository archived) and explicitly deprecated by AWS in favor of SageMaker Training Toolkit and SageMaker Inference Toolkit. High install friction and no active maintenance mean no security updates or compatibility fixes. Use the recommended successor toolkits for any new SageMaker work; only consider this if maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is deprecated; AWS recommends using SageMaker Training Toolkit or SageMaker Inference Toolkit instead.
- No runtime dependencies, but requires Docker and SageMaker integration.
- High install friction and abandoned maintenance status.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), which permits commercial and private use with minimal restrictions, though the package's deprecated status should weigh heavily in any adoption decision.
last release 2020-06-22 (2244 days) · last repo commit 2020-06-22 · 188 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 189,791 downloads/mo, #9,923 on PyPI
Alternatives
Verify before relying
# Install
pip install sagemaker-containers
# In Dockerfile
FROM tensorflow/tensorflow:2.0.0a0
RUN pip install sagemaker-containers
COPY train.py /opt/ml/code/train.py
ENV SAGEMAKER_PROGRAM train.py- Whether existing SageMaker Containers deployments remain functional or if migration to the recommended toolkits is urgent.
- Compatibility with current SageMaker API versions and whether deprecated features have been removed from SageMaker itself.
What it is and what it does
SageMaker Containers is a deprecated library for building Docker images that run on Amazon SageMaker. It automates the setup of SageMaker-compatible containers by handling script entry points, hyperparameter injection as command-line arguments, and environment variable provisioning (such as SM_MODEL_DIR for model checkpoints and SM_CHANNEL_* for input data channels). The library was designed to simplify the process of bringing custom training and inference code to SageMaker without manually managing the container lifecycle.
The package has been abandoned since June 2020 and is no longer maintained. AWS has explicitly deprecated it in favor of two successor projects: SageMaker Training Toolkit for model training and SageMaker Inference Toolkit for model serving. Any new projects should use those toolkits instead. Existing deployments may continue to work, but security updates, bug fixes, and compatibility with newer SageMaker features are no longer guaranteed.
Use it for
- Building legacy SageMaker training containers that execute Python or shell scripts with hyperparameter support.
- Creating SageMaker-compatible inference containers that read model artifacts from S3 and serve predictions.
- Mapping SageMaker training job hyperparameters to script command-line arguments automatically.
- Managing SageMaker environment variables (SM_MODEL_DIR, SM_CHANNEL_*) within custom training scripts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2020-06-22, repository archived) and explicitly deprecated by AWS in favor of SageMaker Training Toolkit and SageMaker Inference Toolkit. High install friction and no active maintenance mean no security updates or compatibility fixes. Use the recommended successor toolkits for any new SageMaker work; only consider this if maintaining legacy code that already depends on it.
Install
sagemaker-containers on PyPI
Before you install
High install friction and abandoned maintenance status. The package has not been updated since 2020-06-22 and its repository is archived. AWS explicitly recommends using SageMaker Training Toolkit and SageMaker Inference Toolkit instead.
Package is deprecated; AWS recommends using SageMaker Training Toolkit or SageMaker Inference Toolkit instead. No runtime dependencies, but requires Docker and SageMaker integration.
License in practice
Licensed under Apache License 2.0 (permissive), which permits commercial and private use with minimal restrictions, though the package's deprecated status should weigh heavily in any adoption decision.
Quickstart
# Install
pip install sagemaker-containers
# In Dockerfile
FROM tensorflow/tensorflow:2.0.0a0
RUN pip install sagemaker-containers
COPY train.py /opt/ml/code/train.py
ENV SAGEMAKER_PROGRAM train.py
Verify before relying
- Whether existing SageMaker Containers deployments remain functional or if migration to the recommended toolkits is urgent.
- Compatibility with current SageMaker API versions and whether deprecated features have been removed from SageMaker itself.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,244 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 189,791 / month, #9,923 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.6 |
Evidence: sagemaker_containers-2.8.6.post2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sagemaker docker container builder”
- sagemaker-containersProvides tools to build Docker containers compatible with Amazon…
- sagemaker-inferenceProvides a model serving stack for deploying machine learning models…
- sagemaker-trainingIntegrates training scripts into Docker containers for use with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also sagemaker-training · sagemaker-inference · sagemaker-train · sagemaker · smdebug-rulesconfig · sagemaker-serve · cog · sagemaker-schema-inference-artifacts · model-hosting-container-standards · sagemaker-experiments