macos - mac 下 docker 配置 lamp 环境求助
阿神
阿神 2017-04-21 10:57:00
0
1
872

之前 mac 下都是用的 mamp 或者自己搭建 lamp 环境
最近重装了系统, 考虑学习下 vagrant 和 docker
不知道有没有推荐的配置教程推荐

是不是 mac 下使用 docker 必须需要 vagrant ?我看安装教程下有个 boot2docker 可以不用 vagrant?哪个好呢?

阿神
阿神

闭关修行中......

reply all(1)
迷茫

boot2docker is actually a VM management tool similar to vagrant. There is a mac installation wizard on the docker official website. You can download the installation file of boot2docker and install it directly. There is no need to install vagrant. Although some people have also made boot2docker for vagrant. box, but that can only play docker in the vm, and you cannot use docker directly on your mac.

After installing boot2docker, just use docker to pull a lamp image. You can take a look at this image. It has the highest download volume.

For a comparison between docker and vagrant, you can look at this question on stackoverflow. The authors of vagrant and docker have discussed it above: should-i-use-vagrant-or-docker-io-for-creating-an-isolated-environment

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!