Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Redis Dockerfile

This repository contains Dockerfile of Redis for Docker

Installation

  1. Install Docker.

  2. Download from public Docker Registry: docker pull b4mad/redis

Usage

Run redis-server

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

Run redis-server with persistent data directory. (creates dump.rdb)

docker run -d -p 6379:6379 -v <data-dir>:/data --name redis b4mad/redis

Run redis-cli

docker run -it --rm --link redis:redis b4mad/redis bash -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'
Docker Pull Command
Owner
b4mad
Source Repository