Product Docs
Open Source
Education
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:
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 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.
By default this image runs as a non-root user named memcached with a uid of 65532.
memcached