Memcached Server - PaVoS-TECO/core GitHub Wiki

Memcached Docker Server

1. Install Docker

To use the Java Memcached Client, a Memcached Server is required. We recommend the Memcached Docker image.

To use the docker as intended by our project, you need to install docker-ce on your system first. To do this, you can follow the official instructions here. If you are using Debian with amd64 (or x86_64) architecture, you can speed up this process by running this script via the following command:

sh -c "$(curl -fsSL https://raw.github.com/olivermliu/linux-essential-scripts/master/docker-install-debian.sh)"

This will install all necessary packages on your system and run the docker hello-world image to test your installation.

2. Run the Memcached Docker image

To run the image, execute:

sudo docker run --name memcached-server -d -p 11211:11211 memcached

Memcached clients can now connect to the memcached server via port 11211.