Skip to content

Instantly share code, notes, and snippets.

@rasputnik
Created January 7, 2014 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasputnik/8302058 to your computer and use it in GitHub Desktop.
Save rasputnik/8302058 to your computer and use it in GitHub Desktop.
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