Skip to content
🐰 Built-from-source container image of the Memcached in-memory key-value store
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rootfs/etc
Dockerfile.glibc
Dockerfile.musl
LICENSE
README.md

README.md

memcached (container image)

Built-from-source container image of the Memcached in-memory key-value store

Tags

Docker Hub

Available on Docker Hub as ricardbejarano/memcached:

Quay

Available on Quay as:

Features

  • Super tiny (glibc-based is ~3.6MB and musl-based is ~1.64MB)
  • Compiled from source during build time
  • Built FROM scratch, see Filesystem for an exhaustive list of the image's contents
  • Reduced attack surface (no shell, no UNIX tools, no package manager...)
  • Built with binary exploit mitigations enabled

Building

  • To build the glibc-based image: $ docker build -t memcached:glibc -f Dockerfile.glibc .
  • To build the musl-based image: $ docker build -t memcached:musl -f Dockerfile.musl .

Filesystem

The images' contents are:

glibc

Based on the glibc implementation of libc. Dynamically linked.

/
β”œβ”€β”€ etc/
β”‚   β”œβ”€β”€ group
β”‚   └── passwd
β”œβ”€β”€ lib/
β”‚   └── x86_64-linux-gnu/
β”‚       β”œβ”€β”€ libc.so.6
β”‚       β”œβ”€β”€ libevent-2.0.so.5
β”‚       └── libpthread.so.0
β”œβ”€β”€ lib64/
β”‚   └── ld-linux-x86-64.so.2
└── memcached

musl

Based on the musl implementation of libc. Statically linked.

/
β”œβ”€β”€ etc/
β”‚   β”œβ”€β”€ group
β”‚   └── passwd
└── memcached

License

See LICENSE.

You can’t perform that action at this time.