COMPOSE SCRIPTS & RUN AGENT SERVER in desired STATE Change version Edit config file Add/remove library Create folder/link/... .... Script, Configure, Run, Repeat...
desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE Development Test Production SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STATE SERVER in desired STAT SERVER in desired STA SERVER in desired ST SERVE in desired S SERV in desired SERV in desired SER i desire SE desir S desi des de d
repository is up to date RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update # install memcached RUN apt-get install -y memcached # run as user daemon (memcached doesn't allow to run as root) USER daemon # expose memcached port EXPOSE 11211 # Launch memcached when launching the container # CMD [ "memcached" ] ENTRYPOINT ["memcached"]
the package repository is up to date RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update # install php and nginx RUN apt-get install php5-common php5-cli php5-fpm php5-memcache php5-mcrypt nginx RUN echo "cgi.fix_pathinfo = 0;" >> /etc/php5/fpm/php.ini RUN echo "daemon off;" >> /etc/nginx/nginx.conf EXPOSE 80