Dockerfile to build image with elliptics.
For now this image is just a part of basic cocaine cloud installation.
Current Version: 2.25.5.1
Pull the latest or specific version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the Docker Trusted Build service.
docker pull burkostya/elliptics:2.25.5.1
Alternately you can build the image yourself.
git clone https://github.com/burkostya/docker-elliptics.git
cd docker-elliptics
docker build -t '<user>/elliptics' .
Run container
docker run --name=elliptics -i -t --rm \
-p 1025:1025 \
burkostya/elliptics:2.25.5.1
For data persistency you should mount a volume
/opt/elliptics
Volumes can be mounted in docker by specifying the '-v' option in the docker run command.
mkdir /opt/data/elliptics
docker run --name=elliptics -d \
-p 1025 \
-v /opt/data/elliptics:/opt/elliptics \
burkostya/elliptics:2.25.5.1
- Start the image
docker run --name=elliptics -d \
-p 1025:1025 \
-v /opt/data/elliptics:/opt/elliptics \
burkostya/elliptics:2.25.5.1