gpt4 book ai didi

docker - 我可以在生产中使用 boot2docker 吗? CoreOS 与 boot2docker

转载 作者:IT老高 更新时间:2023-10-28 21:22:20 25 4
gpt4 key购买 nike

如果不是,为什么 boot2docker 不能在生产中使用?什么东西,coreOS 带来了 boot2docker 没有的?

最佳答案

boot2docker是在非 Linux 主机中使用的 Linux (tinyCore) VM 的名称(例如,docker machine)。

如果您使用 Docker 进行生产,最好在 Linux 主机上进行(反正您不需要 boot2docker)。

之后,这取决于您的生产环境:如果它是一个复杂的环境(集群和服务复制是一个问题),那么 CoreOS 提出了一个平台(它确实支持 docker):请参阅"7 reasons why you should be using CoreOS with Docker "

https://image.slidesharecdn.com/deis-141102221759-conversion-gate01/95/ceph-docker-heroku-slugs-coreos-and-deis-overview-15-638.jpg?cb=1414966883

CoreOS is a barebones Linux distribution designed to make large multiple-machine deployments, using different softwares and dependencies, easier to scale and easier to manage. It is built for high availability and security.

It does not come with a package manager and thus requires containers such as those provided by Docker.
It uses "fleet" for cluster management and "etcd" for service discovery and keeping configuration up to date across the cluster.

关于docker - 我可以在生产中使用 boot2docker 吗? CoreOS 与 boot2docker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33958185/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com