tensorflow-serving
TensorFlow Serving Overview
Secure your stack with a hardened TensorFlow Serving image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.
TensorFlow Serving is used to serve machine learning models in production environments. It handles model loading, versioning, and inference requests with low latency and high throughput, supporting multiple models and versions simultaneously. The system provides a gRPC and REST API interface for client applications to request predictions from deployed models.
Try It Out
Prerequisites: A TensorFlow SavedModel on disk.
Start TensorFlow Serving with your model mounted:
docker run -p 8500:8500 -p 8501:8501 \
--mount type=bind,source=/path/to/models,target=/models/my_model \
-e MODEL_NAME=my_model \
reg.mini.dev/tensorflow-servingCheck that the model is loaded and ready:
curl http://localhost:8501/v1/models/my_modelYou should see a similar confirmation:
{
"model_version_status": [
{
"version": "1",
"state": "AVAILABLE",
"status": {}
}
]
}Send a prediction request via the REST API:
curl -d '{"instances": [[1.0, 2.0, 3.0]]}' \
-X POST http://localhost:8501/v1/models/my_model:predictTechnical Considerations
The TensorFlow Serving image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.
TensorFlow Serving built by Minimus:
- Port
8500exposes the gRPC endpoint and port8501exposes the REST endpoint. - Drill down on the version specification tab to see the default user, listening ports, entrypoint, volumes, environment variables, etc.
The Payoff
A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.
- See the risk reduction dashboard for a detailed CVE comparison over the past 30 days.
- Review the compliance report to see the default hardening and security configurations for the image.
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.