1、相关说明
- 该镜像基于Centos8.3;
- Nginx与PHP均为官网下载源码编译安装;
- Nginx配置目录:
/usr/local/nginx/conf
文件目录:/usr/local/nginx/html
- PHP配置目录:
/usr/local/etc/
- 已做好的镜像地址:https://hu[……]
/usr/local/nginx/conf
文件目录:/usr/local/nginx/html
/usr/local/etc/
$ docker search centos
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
centos[......]
Docker分为Client与Enginer两端,可以类比Mysql,一个服务端程序一个控制台程序
以CentOS为例,Enginer的安装分为以下步骤
$ sudo yum remove docker \
docker-[......]