<分区>
我想在我的 Linux 服务器上使用 Docker 使用 MongoDb 版本 4。 但我不知道哪个标签合适且稳定.. 4.0 或 4.0.12 或 4.2.0 或 ...
我之前一直在使用 3.6 版并且没有遇到任何问题...但是由于 4 版更好我想使用 4 版。
谢谢你告诉我应该使用哪个 docker 镜像
<分区>
我想在我的 Linux 服务器上使用 Docker 使用 MongoDb 版本 4。 但我不知道哪个标签合适且稳定.. 4.0 或 4.0.12 或 4.2.0 或 ...
我之前一直在使用 3.6 版并且没有遇到任何问题...但是由于 4 版更好我想使用 4 版。
谢谢你告诉我应该使用哪个 docker 镜像
最佳答案
不要被太多的标签迷失了方向。如果你仔细看看他们的digest ,你会注意到:
mongo:latest
mongo:仿生
mongo:4.2.0-bionic
mongo:4.2.0
mongo:4.2
mongo:4.2-bionic
mongo:4
mongo:4-bionic
都有相同的(6106df75f139
)
此外,来自 MongoDB Versioning :
MongoDB Versioning
Important: Always upgrade to the latest stable revision of your release series.
MongoDB versioning has the form
X.Y.Z
whereX.Y
refers to either a release series or development series andZ
refers to the revision/patch number.
- If
Y
is even,X.Y
refers to a release series; for example,4.0
release series and4.2
release series. Release series are stable and suitable for production.- If
Y
is odd,X.Y
refers to a development series; for example,4.1
development series and4.3
development series. Development series are for testing only and not for production.
关于linux - docker中最合适的mongodb Version 4?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58303113/