Closed yosifkit closed 3 months ago
Maybe the alternative is that we use 8.0 as the opportunity to deprecate nanoserver instead and that's the cutoff point beyond which we stop maintaining this variant?
Is there a way to spin it up and exercise the functionality a bit to see if there are any late-loading DLLs?
I recall a long time ago trying to get our mongo-basics
test to run on Windows, but it's been a while (and it definitely won't work as-is right now: https://github.com/docker-library/official-images/blob/5a3458bf1f704fa5617e19d21254a72d10b8ee53/test/tests/mongo-basics/run.sh)
We should keep MongoDB nanoserver
images for now, but I don't see enough users to spend the effort to improve upon them or their testing. It was requested back in 2016 (https://github.com/docker-library/mongo/issues/124) and only added in 2021 (https://github.com/docker-library/mongo/pull/470). If maintaining them becomes a recurring problem, then we can look at automating/testing this list of DLLs or even dropping the nanoserver
variants.
The 8.0.0-rc8 nanoserver images are failing to build:
🔍 After searching through the DLLs loaded by
mongod.exe
at runtime, it turns out thatmsvcp140_1.dll
is needed onnanoserver
. We might be missing other DLLs for MongoDB features that aren't loaded when doingmongod --version
.For reference, this is the
C:/Windows/System32/
folder from the MongoDB installation layer in thewindowsservercore
image, though I don't know how many of the DLLs we should move or if themongo:*nanoserver
images are really even used.