实验环境:
在已有docker环境和nginx镜像的基础上进行编排。
1、准备mysql容器目录及文件

2、dockerfile文件内容

3、my.cnf文件内容

4、准备php容器目录及文件

5、dockerfile文件内容

6、准备其他文件

7、编写docker-compose.yml文件
8、Docker Compose环境的实现

9、启动服务



10、登录容器,进行授权并刷新

11、网页登录wordpress

12、实验完成效果图

在已有docker环境和nginx镜像的基础上进行编排。