Skip to content

Memcached Server

Oliver edited this page Jul 23, 2018 · 1 revision

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.

Clone this wiki locally