2025-01-16 17:34:05 UTC
2.27 GB
598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi
MONGO_VERSION5.0.31-rc1
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.63% (1.6 GB)
[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 16.5% (383 MB)
[#002] sha256:77da04c85c4066ce2bafe042b54e64be2deda3b5c2091529d2a9f502bf95d533 - 0.0% (1.3 KB)
[#003] sha256:ae3afd05b7b0f7178f9c2b588c1f92620609107bdd0d0fa0696dfffa0b73bd32 - 0.0% (1.35 KB)
[#004] sha256:3c8b654c50762dadd003dfc0a335cbf837110432a355be6b3b9eb3b1762074d7 - 0.0% (1.26 KB)
[#005] sha256:b0d0346b6783141600cfe88220ea0d8bd972df175d8f074219d4e613152cf4b9 - 0.0% (1.37 KB)
[#006] sha256:eff18cac0b636ea6a5f289f9f06e8ed830656817098f6cf5fdda346bbd0d82ca - 12.87% (299 MB)
[#007] sha256:21545b80349d474a7ffbeb3c70d90462d01446150f5087d7263c8258cece0b57 - 0.0% (1.27 KB)
[#008] sha256:3b27a4bafa11dc605dd207b90fc852d20ffc0acb7e49e488c3bed0e64928f615 - 0.0% (1.27 KB)
[#009] sha256:4e4a1721bb933f8f2a23c090b00bfc6bfb1bb506106d7719edcfa191b522bc68 - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2025-01-09 09:46:25 UTCInstall update 10.0.17763.6775
2025-01-16 17:32:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-01-16 17:32:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.31-rc1
2025-01-16 17:32:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi
2025-01-16 17:32:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d
2025-01-16 17:34:02 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=Client,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 ' mongo --version'; mongo --version; 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-01-16 17:34:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-01-16 17:34:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-01-16 17:34:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]