HUB
Sign inSign up

becivells/redis

By becivells

•Updated about 10 years ago

基于alpine的redis

Image
0

3.2K

becivells/redis repository overview

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

FROM alpine:3.4
MAINTAINER	becivells <[email protected]>

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"]

Tag summary

Content type

Image

Digest

Size

3 MB

Last updated

about 10 years ago

docker pull becivells/redis