Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.02 KB

Memcached container

Docker Repository on Quay

This repo contains all resources for Memcached container running in OpenShift. The image is automatically rebuild in Quay.io based on SCM event. Also it gets automatically rebuilt when new RHEL 7 base image gets released.

How to use the image in OpenShift

The first and the easiest way how to run memcached container is by using following oc command:

oc new-app quay.io/redhat-aqe/memcached

This will create simple app with default configuration.

You will likely need more complex deployment at least to adjust memory allocation of the pod to roughly match memory configured for memcached (512MiB by default).

Run image localy

docker build .
sudo docker run \
   -e PORT=11211 \
   -e MEMORY_LIMIT=1024 \
   -e EXTRA_ARGS='-vv' \
   -p 127.0.0.1:11211:11211/tcp \
   $IMAGE_ID