2025-03-06 18:36:00 UTC
3.11 GB
7d614a9ef96cfd6c75e13ad9f619d058318821a0289adf061d42995438d451cd
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-rc0-signed.msi
MONGO_VERSION6.0.21-rc0
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 66.25% (2.06 GB)
[#001] sha256:39ec821b2720b751c1158ef60a69ee9d879169daea9bb3099c4f6c525fc30ff3 - 17.98% (573 MB)
[#002] sha256:45b5f8b1b8f16b1496e3f904159c95c73b0a891e03d225f7916fcf658b1da7be - 0.0% (1.26 KB)
[#003] sha256:289be4597bfdd1ab0c1ba7d8ff98be75d6af8d5dc04558792d160bbb2337b06f - 0.0% (1.3 KB)
[#004] sha256:225cd5a0651790c4d9b8dec578ca14338c6ceb0d1c307b6c1b0197d99eaed516 - 0.0% (1.29 KB)
[#005] sha256:160c0a9d2749f96d97703d347b2112ebaead8729680218efb5336e701b956973 - 0.0% (1.29 KB)
[#006] sha256:8b39c78fc1b91c619e8c7edeec4730d55bbc592b672e2eac989ca2106b902559 - 15.77% (503 MB)
[#007] sha256:6e0b6f53865a2a4db4ec77eeae992569027cdc8ee215b320b18bb0110d037bc0 - 0.0% (1.26 KB)
[#008] sha256:1ba46b6cdec0fd18b2e1d4c2492ed9aa9f23d99dbc466800a042997d4f92aeca - 0.0% (1.28 KB)
[#009] sha256:3a7480d265e2ff78505c5012092bb50ba7153adfae86587f69dc4cbe855ef278 - 0.0% (1.29 KB)
Apply image 10.0.26100.2605
2025-02-08 22:54:28 UTCInstall update 10.0.26100.3194
2025-03-06 18:34:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-03-06 18:34:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.21-rc0
2025-03-06 18:34:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-rc0-signed.msi
2025-03-06 18:34:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7d614a9ef96cfd6c75e13ad9f619d058318821a0289adf061d42995438d451cd
2025-03-06 18:35:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-03-06 18:35:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-03-06 18:35:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-03-06 18:36:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]