Public Repository

Last pushed: 5 months ago
Short Description
qq:523947352
Full Description

Basic info
ENV PHP_VERSION 5.6.30
ENV NGINX_VERSION 1.10.3

Be careful(Cancel daemon, supervisor management)
1.RUN sed -i '90i\daemonize = no;' /usr/local/etc/php-fpm.conf
2.RUN sed -i '10i\daemon off;' /usr/local/nginx/conf/nginx.conf
3.RUN sed -i '$a[supervisord]\nnodaemon=true\n\n' /etc/supervisord.conf

Starting a MySQL instance is simple:
$ docker run -d -v /{directory}/server-init/supervisord.conf:/etc/supervisord.conf -v /{directory}/server-init/nginx.conf:/usr/local/nginx/conf/nginx.conf :images_name

Docker Pull Command
Owner
523947352

Comments (0)