Created
January 7, 2014 16:35
-
-
Save rasputnik/8302058 to your computer and use it in GitHub Desktop.
redis dockerfile (sample)
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
| # 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