memcached

ubuntu/memcached Docker Image

Memcached 是一种内存中的键值存储,用于存储小块任意数据(如字符串、对象),由 Canonical 维护长期跟踪。

8 次收藏下载次数: 0状态:社区镜像维护者:Ubuntu 官方镜像仓库类型:镜像最近更新:6 小时前
下载命令
点击查看

ubuntu/memcached is a rock for Memcached maintained by https://canonical.com/.

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

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

\https://memcached.org/\]

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, s390x, amd64, arm64
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.

\https://documentation.ubuntu.com/pebble/\]

Inspect

To view the https://documentation.ubuntu.com/rockcraft/en/latest/reference/rockcraft-yaml/#services and https://documentation.ubuntu.com/rockcraft/latest/reference/rockcraft-yaml/#checks defined in this rock:

sh
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:

sh
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:

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

Write and read a value:

bash
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:

sh
docker exec memcached-container pebble logs

Or, for a specific service:

sh
docker exec memcached-container pebble logs <service>

Monitor health checks

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

sh
docker exec memcached-container pebble checks

The overall health of your container can be inspected via:

sh
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

\https://github.com/canonical/memcached-rock/issues\] \https://github.com/canonical/memcached-rock\]

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 https://canonical.com/legal/intellectual-property-policy.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 memcached 镜像标签

docker pull docker.xuanyuan.run/ubuntu/memcached:<标签>

DockerHub 原生拉取命令

docker pull ubuntu/memcached:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告