Image Overview: memcached

Overview: memcached Chainguard Image

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/memcached:latest

Using Memcached

The default memcached port is 11211. To run with Docker using default configuration:

docker run -p 11211:11211 --rm cgr.dev/chainguard/memcached

Connect to Memcached with telnet

$ telnet localhost 11211
Trying ::1...
Connected to localhost.
Escape character is '^]'.
set foo 0 100 3
bar
STORED
get foo
VALUE foo 0 3
bar
END
quit
Connection closed by foreign host.

Users and Directories

By default this image runs as a non-root user named memcached with a uid of 65532.

Last updated: 2024-04-11 12:38