Public Repository

Last pushed: 2 years ago
Short Description
A Redis image on CentOS. Mostly ripped from dockerfile/redis.
Full Description

A Redis image installed on CentoOS. The primary components of the Dockerfile were pulled from dockerfile/redis.

Usage

Run redis-server

docker run -d --name redis -p 6379:6379 connexiolabs/coreos-redis

Run redis-server with persistent data directory. (creates dump.rdb)

docker run -d -p 6379:6379 -v <data-dir>:/data --name redis connexiolabs/coreos-redis

Run redis-server with persistent data directory and password.

docker run -d -p 6379:6379 -v <data-dir>:/data --name redis connexiolabs/coreos-redis redis-server /etc/redis/redis.conf --requirepass <password>

Run redis-server with a data container

docker run --name redis_data connexiolabs-redis:data

docker run -d -P --volumes-from redis_data --name redis connexiolabs/coreos-redis

Run redis-cli

docker run -it --rm --link redis:redis connexiolabs/coreos-redis bash -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'
Docker Pull Command
Owner
connexiolabs

Comments (0)