Docker创建支持php服务的镜像
#本地已有镜像 FROM docker.io/centos #作者信息 MAINTAINER liangyj liangyj@566560.com #安装epel-release RUN ["yum","install","-y","epel-release"] #安装php RUN yum install -y php #安装php-fpm RUN yum install -y php-fpm #暴露端口 EXPOSE 9000 #CMD["/usr/sbin/php-fpm","-D","--fpm-config","/etc/php-fpm.conf"]
文章标题:Docker创建支持php服务的镜像
网站链接:http://scyingshan.cn/article/gioidd.html