ubuntu/memcached

Verified Publisher

By Canonical

Updated about 22 hours ago

Memcached, in-memory keyvalue store for small data chunks. Long-term tracks maintained by Canonical.

Image
Databases & storage
7

100K+

ubuntu/memcached repository overview

ubuntu/memcached is a rock for Memcached maintained by Canonical.

Memcached is a high-performance, distributed memory object caching system.

This image is a chiseled Ubuntu rock. It contains a minimal Memcached installation and the necessary tools to run and manage Memcached instances.

[Learn more about Memcached]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
1.6-26.04_stable
aliases1.6-26.04, 1.6-26.04_beta, 1.6-26.04_candidate, 1.6-26.04_edge
05/20311.626.04ppc64le, arm64, amd64, s390x
1.6-24.04_beta
aliases1.6-24.04_beta
05/20291.624.04amd64, arm64, s390x, ppc64le
1.6-22.04_beta
aliases1.6-22.04_beta
06/20271.622.04amd64, s390x, ppc64le, arm64
1.6-24.04_edge
aliases1.6-24.04_edge
05/20291.624.04amd64, arm64, s390x, ppc64le
1.6-22.04_edge
aliases1.6-22.04_edge
06/20271.622.04amd64, s390x, ppc64le, arm64
View deprecated tags
TagsSupport ended onUpgrade Path
1.6-25.04_beta
aliases1.6-25.04_edge, edge, latest
01/2026 -
1.6-24.10_beta
aliases1.6-24.10_edge
07/2025 -
1.6-23.10_beta
aliases1.6-23.10_edge
07/2024 -
1.6-23.04_beta
aliases1.6-23.04_edge
01/2024 -
1.6-22.10_beta
aliases1.6-22.10_edge
07/2023 -
1.6-21.10_beta
aliases1.6-21.10_edge
07/2022 -
1.6-21.04_beta
aliases1.6-21.04_edge
01/2022 -
1.5-20.04_beta
aliases1.5-20.04_edge
05/2025 -

Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/memcached:1.6-25.04_beta plan
Run

To run this rock, use any of the usual container runtimes, for example, docker:

docker run --name memcached-container \
    -p 11211:11211 \
    ubuntu/memcached:1.6-25.04_beta

Access your Memcached server at localhost:11211

Get instance stats:

printf "stats
" | nc -q 1 -w 1 127.0.0.1 11211

Write and read a value:

printf "set my_key 0 60 11
hello world
" | nc -q 1 127.0.0.1 11211
printf "get my_key
" | nc -q 1 127.0.0.1 11211 | grep "hello world"

Get logs

To view the logs of the running container, run:

docker exec memcached-container pebble logs

Or, for a specific service:

docker exec memcached-container pebble logs <service>
Monitor health checks

Rocks may have predefined health checks that you can list by running:

docker exec memcached-container pebble checks

The overall health of your container can be inspected via:

docker exec memcached-container pebble health

Configuration

Environment variables
OptionDescriptionDefault
-e TZ=UTCTimezone.None
Ports
OptionDescriptionDefault
-p 11211:11211Expose Memcached on localhost:11211None
Other configuration options
OptionDescriptionDefault
--args <memcached-args>Specific memcached argumentsNone

[Report a bug] [Contribute]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.

Tag summary

Content type

Image

Digest

sha256:5aee65df6

Size

13.3 MB

Last updated

about 22 hours ago

docker pull ubuntu/memcached:1.6-26.04_stable

This week's pulls

Pulls:

972

Last week