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.
The image is available on cgr.dev:
docker pull cgr.dev/chainguard/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
Connected to localhost.
Escape character is '^]'.
set foo 0 100 3
VALUE foo 0 3
Connection closed by foreign host.
By default this image runs as a non-root user named memcached with a uid of 65532.