是时候跟Docker说再见了

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在容器的远古时代(差不多就是4年前),Docker是这场游戏的唯一玩家。但现在情况已经不一样了,Docker不再是唯一玩家,而只是一个容器引擎而已。我们可以用Docker构建、运行、拉取、推送或检查容器镜像,但对于这里的每一项任务,都有其他可替代的工具,它们可能比Docker做得更好。所以,让我们来探究一下它们,然后卸载和忘掉Docker……"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"为什么说不要用Docker了?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"如果你已经使用Docker很长时间了,那么要说服你考虑使用其他的工具可能需要费点唇舌。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"首先,Docker是一个整体性的工具,它试图做所有的事情,但这通常不是最好的方法。大多数情况下,选择一种专门的工具会更好,它可能只做一件事,但会做到最好。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"如果你害怕使用不同的工具,可能是因为你要学习使用不同的CLI、不同的API或接受不同的概念。不过请放心,选择本文介绍的工具都是完全无缝衔接的,因为它们(包括Docker)都遵循OCI (Open Container Initiative)规范。OCI包含了容器运行时、容器分发和容器镜像的规范,涵盖了使用容器所需的所有特性。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章