Last active
August 29, 2015 14:05
-
-
Save TheWaWaR/28aeab774ae2de6ab71f to your computer and use it in GitHub Desktop.
Redis dockerfile for centos7, redis-2.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos7 | |
MAINTAINER weet <[email protected]> | |
RUN rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/7/x86_64/e/epel-release-7-1.noarch.rpm | |
RUN yum install -y redis | |
EXPOSE 6379 | |
ENTRYPOINT ["/usr/bin/redis-server"] | |
# sudo docker run -p 6379:6379 -d centos-redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment