This repository contains Dockerfile of Redis for Docker's trusted build published to the public Docker Registry.
-
Install Docker.
-
Download trusted build from public Docker Registry:
docker pull dockerfile/redis
(alternatively, you can build an image from Dockerfile:
docker build -t="dockerfile/redis" github.com/dockerfile/redis
)
docker run -d --name redis -p 6379:6379 dockerfile/redis
docker run -i --rm -t --entrypoint="bash" --link redis:redis dockerfile/redis -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'