Public | Automated Build

Last pushed: 2 years ago
Short Description
Redis Dockerfile in CentOS 7
Full Description

Redis Dockerfile in CentOS 7 image

This repository contains a Dockerfile to build a Docker Image for Redis in CentOS 7.

Base Docker Image



  1. Install Docker.

  2. You can download automated build from public Docker Hub Registry:

docker pull zokeber/redis:latest

Another way: build from Github

To create the image zokeber/redis, clone this repository and execute the following command on the docker-redis folder:

docker build -t zokeber/redis:latest .

Another alternatively, you can build an image directly from Github:

docker build -t="zokeber/redis:latest"

Create and running a container

Create container:

docker create -it -p 6379:6379 --name container-redis zokeber/redis

Start container:

docker start container-redis

Connection methods:

Redis client:

docker exec -it container-redis redis-cli


docker exec -it container-redis bash


Stop the currently running image:

docker stop container-redis

Update the docker image:

docker pull zokeber/redis:latest
Docker Pull Command
Source Repository