📜  什么是有状态和无状态容器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:44.046000             🧑  作者: Mango

代码示例1
Stateless containers can be started and stopped at any time, and stateless containers can be run on any node in the cluster. So long as there is at least one instance of the container running at any time, the service provided by that application is always available. Stateful containers aren't so flexible.