The redis container provides a clean, reusable and immutable runtime environment for the Redis server. Redis can be used as an in-memory backend for DynomiteDB.
Dynomite is a framework that turns single server databases into scalable, distributed databases.
Specifically, Dynomite is a Dynamo-inspired layer that provides sharding, replication, a gossiper, a partitioner and other shared database infrastructure.
DynomiteDB currently provides the Redis API for accessing both in-memory and persistent backends. A common API allows you to reuse queries, data models and knowledge across both traditional database and caching workloads.
DynomiteDB currently supports the following pluggable backends:
redis instancedocker run --name redis --net=host -d -p 22122:22122 dynomitedb/redis
redis.conf configuration fileYou can provide Redis with a custom configuration file as show below. In this example, we first clone a git repository that has a custom redis.conf file.
If you plan to use a custom configuration file, then stop and delete the
rediscontainer if you previously ran the command above.docker stop redis, thendocker rm redis.
mkdir -p ~/repos && cd $_
git clone https://github.com/DynomiteDB/docker-custom-conf-files.git
cd docker-custom-conf-files
docker run --name redis --net=host -d -p 22122:22122 -v ${PWD}/redis.conf:/etc/dynomitedb/redis.conf dynomitedb/redis
dynomitedb/redis imageThe redis Docker image is automatically built via DockerHub at https://hub.docker.com/r/dynomitedb/redis.
The instructions below allow you to manually build the redis image, if required.
Clone the docker-redis repo from Github.
mkdir -p ~/repos/ && cd $_
git clone https://github.com/DynomiteDB/docker-redis.git
cd into the docker-redis directory.
cd ~/docker-redis
Create the redis image.
docker build -t dynomitedb/redis .
Content type
Image
Digest
Size
82.1 MB
Last updated
about 10 years ago
docker pull dynomitedb/redis