Public Repository

Last pushed: a year ago
Short Description
基于alpine的redis
Full Description

带有密码的密码是123456
docker pull becivells/redis:passwd

FROM alpine:3.4
MAINTAINER    becivells <becivells@gmail.com>

RUN apk --update add  redis && \
    rm -rf /var/cache/apk/*
#pass&remote
RUN    sed -i "s/# requirepass foobared/requirepass 123456/g" /etc/redis.conf \
    && sed -i "s/^bind 127\.0\.0\.1.*/bind 0\.0\.0\.0/g" /etc/redis.conf \
    && sed -i "s/^daemonize yes/daemonize no/g" /etc/redis.conf 
EXPOSE 6379
CMD ["/usr/bin/redis-server" , "/etc/redis.conf"]
Docker Pull Command
Owner
becivells