/docker-redis

Redis Image for Docker

Primary LanguageShell

Redis Dockerfile

This repository contains Dockerfile of Redis for Docker's trusted build published to the public Docker Registry.

Installation

  1. Install Docker.

  2. Download trusted build from public Docker Registry: docker pull imanel/redis

Usage

Run redis-server

docker run -d --name redis -p 6379:6379 imanel/redis

Run redis-cli

docker run -i --rm -t --entrypoint="bash" --link redis:redis imanel/redis -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'