在docker集装箱中运行jenkins的优点是什么?

我发现了很多关于如何在Docker中运行jenkins的博客,但没有一个真正解释这样做的好处。

这些是我发现的唯一原因( https://twasink.net/2016/08/01/setting-up-a-jenkins-server-with-docker/):1 1) I want most of the configuration for the server to be under version control. 2) I want the ability to run the build server locally on my machine when I'm experimenting with new features or configurations 3) I want to easily be able to set up a build server in a new environment (eg on a local server, or in a cloud environment such as AWS) 1) I want most of the configuration for the server to be under version control. 2) I want the ability to run the build server locally on my machine when I'm experimenting with new features or configurations 3) I want to easily be able to set up a build server in a new environment (eg on a local server, or in a cloud environment such as AWS)

幸运的是,我有人照顾我的Jenkins服务器,所以这些点并不重要。 这些是唯一的原因,还是有更好的理由,我忽略了,比如自动扩展和负载平衡,当一次触发许多构build(我认为这将是可能的docker?)?