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.
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
$ 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.
$ make build
Apache 2.0 © 2015 Convox, Inc.