HUB
Sign inSign up
redis logo

convox/redis

By convox

•Updated almost 10 years ago

Image
0

100K+

convox/redis repository overview

⁠convox/redis

Redis docker image based on Alpine Linux

This repo builds a docker image that accepts LINK_PASSWORD and exports a LINK_PASSWORD, LINK_SCHEME, and LINK_PATH for convox linking.

It is similar to the official redis build⁠ but with a much smaller footprint. It achieves that by basing itself off the great alpine⁠ docker image by GliderLabs.

⁠Usage

Ephemeral redis container:

$ docker run -e LINK_PASSWORD=foo -p 6379:6379 convox/redis
$ redis-cli -h $(boot2docker ip) -a foo
192.168.59.103:6379>

Enable persistence with shared volume on host:

$ docker run -e LINK_PASSWORD=foo -p 6379:6379 -v /tmp/redis-data:/data convox/redis redis-server /tmp/redis.conf --appendonly yes

⁠Why?

$ docker images
REPOSITORY       TAG         VIRTUAL SIZE
convox/redis     latest      13.38 MB
redis            latest      111 MB

Convox will read the LINK_ vars and use them to assemble a service URL in development.

⁠Build

$ make build

⁠License

Apache 2.0 © 2015 Convox, Inc.

Tag summary

Content type

Image

Digest

sha256:2c3acd707…

Size

4.9 MB

Last updated

almost 10 years ago

docker pull convox/redis