Public Repository

Last pushed: 3 years ago
Short Description
Moxi proxy for Couchbase
Full Description

Dockerfile for kcmerrill/moxi:

FROM centos:centos6

RUN yum update -y && yum install wget -y && yum clean all
RUN wget
RUN rpm --install moxi-server_2.5.0_x86_64.rpm

EXPOSE 11211

ENTRYPOINT /etc/init.d/moxi-server start && \
while ps aux | grep moxi-server | grep -v grep ; do sleep 5; done

You can do one of two things. You can use this image with a valid volume mount. To do so create a folder, drop in a file named "moxi-cluster.cfg" and run the following:

docker run -d -p 11211:11211 -v $PWD:/opt/moxi/etc/ --name=moxi kcmerrill/moxi

Or, better yet! You can build your own image off this, an example file would be:

FROM kcmerrill/moxi

COPY moxi-cluster.cfg /opt/moxi/etc/moxi-cluster.cfg
Docker Pull Command