Navigation Menu

Skip to content

bekberov/docker_redis_centos7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Redis Dockerfile in CentOS 7 image

REDIS v2.8 on CentOS7

Installation

  1. Install Docker.

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

docker pull bekberov/redis_centos7:latest

Create and running a container

Create container:

docker run -d --name redis_cento7 -p 6379:6379 -v /redis/log:/var/redis/log/redis -v /redis/data:/var/lib/redis bekberov/redis_centos7

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

Start container:

docker start container-redis

Connection methods:

Redis client:

`docker exec -it redis_centos7 redis-cli`

Bash:

`docker exec -it redis_centos7 bash`

Build image:

docker build --no-cache -t bekberov/docker_redis_centos7 .

About

Dockerizing a REDIS service on CentOS7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published