Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
redis dockerfile (sample)
# build image with:
#
# docker build -t 'your/redis' <directory holding this file>
#
# run with:
# docker run -P -name redis1 -d your/redis
FROM base
MAINTAINER Dick Davies <dick@hellooperator.net>
# install redis
RUN apt-get update
RUN apt-get install telnet redis-server
# redis port
EXPOSE 6379
ENTRYPOINT ["/usr/bin/redis-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.