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
版权声明:本文标题:Docker,compose,kitematic Overview and build Php WordExpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1687958188h162015.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论