memcached
Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.
50K+
CleanStart Container for Memcached
Enterprise-grade Memcached distributed memory caching system container optimized for high-performance caching scenarios. This container includes the latest stable Memcached server with security hardening and enterprise features. Memcached is an in-memory key-value store for small chunks of arbitrary data from results of database calls, API calls, or page rendering. The container is configured for optimal performance in distributed systems with support for multiple protocols and authentication mechanisms.
📌 CleanStart Foundation: Security-hardened, minimal base OS designed for enterprise containerized environments.
Key Features
Common Use Cases
Quick Start
Pull Latest Image Download the container image from the registry
docker pull cleanstart/memcached:latest
docker pull cleanstart/memcached:latest-dev
Basic Run Run the container with basic configuration
docker run -d --name memcached-instance -p 11211:11211 cleanstart/memcached:latest
Production Deployment Deploy with production security settings
docker run -d --name memcached-prod \
--read-only \
--security-opt=no-new-privileges \
--user 1000:1000 \
-p 11211:11211 \
-m 1024m \
cleanstart/memcached:latest
Volume Mount Mount local directory for persistent data
docker run -d -v $(pwd)/memcached-data:/data cleanstart/memcached:latest
Port Forwarding Run with custom port mappings
docker run -d -p 11222:11211 cleanstart/memcached:latest
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | System PATH configuration |
| MEMCACHED_MEMORY_LIMIT | 64 | Maximum memory to use for storage in megabytes |
| MEMCACHED_CONNECTIONS | 1024 | Maximum simultaneous connections |
Security & Best Practices
Recommended Security Context
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop: ['ALL']
Best Practices
Architecture Support
Multi-Platform Images
docker pull --platform linux/amd64 cleanstart/memcached:latest
docker pull --platform linux/arm64 cleanstart/memcached:latest
CleanStart Images: https://images.cleanstart.com/
Community Images:
Docker Hub: https://hub.docker.com/u/cleanstart
GitHub: https://github.com/cleanstart-containers
AWS ECR Public Gallery: https://gallery.ecr.aws/cleanstart/
Presence on Social Media:
Community: https://www.linkedin.com/groups/18324021/
YouTube: https://www.youtube.com/@CleanStartOfficial
Contribute to Container Use Cases: https://github.com/cleanstart-dev/cleanstart-use-cases/
CleanStart offers Docker images that include third-party open-source libraries and packages maintained by independent contributors. While CleanStart maintains these images and applies industry-standard security practices, it cannot guarantee the security or integrity of upstream components beyond its control.
Users acknowledge and agree that open-source software may contain undiscovered vulnerabilities or introduce new risks through updates. CleanStart shall not be liable for security issues originating from third-party libraries, including but not limited to zero-day exploits, supply chain attacks, or contributor-introduced risks.
Security remains a shared responsibility: CleanStart provides updated images and guidance where possible, while users are responsible for evaluating deployments and implementing appropriate controls.
Content type
Image
Digest
sha256:104e34548…
Size
28.2 MB
Last updated
about 24 hours ago
docker pull cleanstart/memcached:1.6.45-arm64-dev