Created
October 3, 2014 20:46
-
-
Save dbiesecke/812a623f604057ebc003 to your computer and use it in GitHub Desktop.
docker-memcached-ubuntu
This file contains 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
############################################################ | |
# Dockerfile to run Memcached Containers | |
# Based on Ubuntu Image | |
############################################################ | |
# Set the base image to use to Ubuntu | |
FROM ubuntu:latest | |
# Set the file maintainer (your name - the file's author) | |
MAINTAINER nated | |
# Update the default application repository sources list | |
RUN apt-get update | |
# Install Memcached | |
RUN apt-get install -y memcached | |
# Port to expose (default: 11211) | |
EXPOSE 11211 | |
# Default Memcached run command arguments | |
CMD ["-m", "64"] | |
# Set the user to run Memcached daemon | |
USER daemon | |
# Set the entrypoint to memcached binary | |
ENTRYPOINT memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment