admin 管理员组

文章数量: 887021

Docker,compose,kitematic Overview and build Php WordExpress

Docker 通常在服务器环境中使用较多,出于服务器端配置相对繁琐,前端使用Npm,yarn 等管理工具已经很方便了。下面开始介绍概念以及环境搭建

首先介绍下docker的基本概念照抄一下:

Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated containers to get better compute density. Enterprises use Docker to build agile software delivery pipelines to ship new features faster, more securely and with confidence for both Linux and Windows Server apps.

至于docker compose 你可以理解为帮你成组管理docker 工具

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compose see the list of features.
Compose is great for development, testing, and staging environments, as well as CI workflows. You can learn more about each case in Common Use Cases.

下面以介绍下在Mac上利用 kitematic(像sourceTree 一样的UI工具) 搭建php wordExpress 环境.

.1 下载 DockerToolBox

.2 安装完成后打开 kitematic ,打开过程中会进行vm 的初始化

.3 下载mysql , wordexpress

3.1 配置mysql 的密码

3.2 完成wordExpress mysql配置

4 点击右上部分 WBE REVIEW 进入网页 输入信息完毕之后

                                                            Thanks for reading

本文标签: docker compose kitematic Overview and build Php WordExpress