Skip to content

Latest commit

 

History

History
29 lines (13 loc) · 868 Bytes

README.md

File metadata and controls

29 lines (13 loc) · 868 Bytes

Redis Dockerfile

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

Dependencies

Installation

  1. Install Docker.

  2. 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)

Usage

Run redis-server

docker run -d -p 6379:6379 dockerfile/redis

Run redis-cli

docker run -i -rm -t -entrypoint="redis-cli" dockerfile/redis