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

https://www.docker.com/products/docker-toolbox

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

这里写图片描述

.3 下载mysql , wordexpress

3.1 配置mysql 的密码

这里写图片描述

3.2 完成wordExpress mysql配置

这里写图片描述

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

这里写图片描述

                                                            Thanks for reading
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值