docker在正式线上环境的使用一般是怎样的
習慣沉默
習慣沉默 2017-04-27 09:03:13
0
3
781

跟风试了下,懂的怎样下镜像然后运行,但是实际的投入使用没什么经验,想知道一般大家都是怎么投入到实际生产环境的,或者说生产环境docker能用什么?

例如自己要搭个lamp环境,我是直接先用centos+apache+php自己做好一个完整的镜像,然后在新机子运行?还是在新机子运行各自的centos、apache、php的镜像?

習慣沉默
習慣沉默

reply all(3)
给我你的怀抱

1. Run respective images
2. Use docker-machine to dockerize your host
3. Use docker-compose to manage multiple containers (example)
4. Collect docker logs
5. Security aspects
6. Deploy Gitlab , Docker Registry automatically builds app images and deploys

phpcn_u1582

1. Make apache and php images respectively
2. Install docker and compose on the new machine
3. Use compose management to start apache and php images
You can refer to https://www.centos.bz/2017/02.. .

洪涛

In an online environment, we generally use container orchestration and scheduling tools, such as rancher/kubernetes and other tools to schedule containers

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!