Sign inSign up

anapsix/redis

By anapsix

•Updated over 8 years ago

11MB Redis server image over AlpineLinux

Image
6

4.4K

anapsix/redis repository overview

⁠Redis in a box

AlpineLinux-base Docker image with Redis

⁠Usage

as Server:

docker run -d --name redis-server -p 6379:6379 -v /data/redis:/var/lib/redis anapsix/redis

as Client:

docker run -it --rm --link redis-server:my-redis-server anapsix/redis redis-cli -h my-redis-server info
docker run -it --rm anapsix/redis redis-cli -h redis-server-ip-or-host.com info

NOTE: You may override default config options by mounting your config as -v my_redis.conf:/etc/redis.conf or passing command line arguments to container. You can modify any supported setting with command line arguments except config file location.

⁠Configuration

You may pass config options via command line, as you normally would (except config file location):

docker run -d -p 6379:6379 \
  -v /data/redis:/var/lib/redis \
  anapsix/redis --slaveof redismaster.acmecorp.com 6379

or use CONFIG SET⁠ to reconfigure it at run time.

See Redis config documentation for details and options: http://redis.io/topics/config⁠

Tag summary

Content type

Image

Digest

sha256:b463e91fa…

Size

6.1 MB

Last updated

over 8 years ago

docker pull anapsix/redis